summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/sm_common.h
diff options
context:
space:
mode:
authorMaxim Levitsky <maximlevitsky@gmail.com>2010-04-19 18:20:41 +0300
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-05-14 01:03:46 +0100
commitc3611570ddf601609f8803574ea83889ff969aa0 (patch)
tree43e0aa84df91365b2bc5c484da1342d83bda9137 /drivers/mtd/nand/sm_common.h
parenta47bfd2eb66837653dc3b42541dfe4283dd41251 (diff)
mtd: sm_common: split smartmedia and xD table
2GB xD card, and 4MB SmartMedia ROM card share same ID, so to make both work split xD and smartmedia ID tables. Hardware driver must be able to know which type it handles (and probably just one). Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/sm_common.h')
-rw-r--r--drivers/mtd/nand/sm_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/sm_common.h b/drivers/mtd/nand/sm_common.h
index 18284f5fae64..00f4a83359b2 100644
--- a/drivers/mtd/nand/sm_common.h
+++ b/drivers/mtd/nand/sm_common.h
@@ -36,7 +36,7 @@ struct sm_oob {
#define SM_SMALL_OOB_SIZE 8
-extern int sm_register_device(struct mtd_info *mtd);
+extern int sm_register_device(struct mtd_info *mtd, int smartmedia);
static inline int sm_sector_valid(struct sm_oob *oob)