tmp_suning_uos_patched/include/linux/mtd
Saeed Bishara 6afc4fdb3e mtd: fix the conversion from dev to mtd_info
The patch fixes a bug when converting dev to mtd_info by using the
drvdata of the dev, the previous code used
container_of(dev, struct mtd_info, dev), but won't work for the mtdXro
devices as they created without being contained inside mtd_info structure.

Signed-off-by: Saeed Bishara <saeed@marvell.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2009-08-03 14:16:01 +01:00
..
bbm.h
blktrans.h
cfi_endian.h
cfi.h
compatmac.h
concat.h
doc2000.h
flashchip.h
ftl.h
gen_probe.h
inftl.h
map.h
mtd.h mtd: fix the conversion from dev to mtd_info 2009-08-03 14:16:01 +01:00
mtdram.h
nand_ecc.h
nand-gpio.h
nand.h
ndfc.h
nftl.h
onenand_regs.h
onenand.h
partitions.h
pfow.h
physmap.h
plat-ram.h
pmc551.h
qinfo.h
sh_flctl.h
sharpsl.h
super.h
ubi.h
xip.h