diff options
author | Maxim Levitsky <maximlevitsky@gmail.com> | 2010-04-19 17:20:41 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-05-14 02:03:46 +0200 |
commit | c3611570ddf601609f8803574ea83889ff969aa0 (patch) | |
tree | 43e0aa84df91365b2bc5c484da1342d83bda9137 /drivers/mtd/nand/sm_common.h | |
parent | mtd: mxc_nand: support i.MX21 (diff) | |
download | linux-c3611570ddf601609f8803574ea83889ff969aa0.tar.xz linux-c3611570ddf601609f8803574ea83889ff969aa0.zip |
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.h | 2 |
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) |