summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdblock_ro.c
diff options
context:
space:
mode:
authorJörn Engel <joern@wohnheim.fh-wedel.de>2006-04-13 18:53:14 +0200
committerDavid Woodhouse <dwmw2@infradead.org>2006-04-17 16:48:16 +0200
commit7f7c08dfdf5bc0a7c906285d9d97b932f83e8979 (patch)
treeaaf40f4ef508cee41586e788d7d3f9e7075c364d /drivers/mtd/mtdblock_ro.c
parentMerge with git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git (diff)
downloadlinux-7f7c08dfdf5bc0a7c906285d9d97b932f83e8979.tar.xz
linux-7f7c08dfdf5bc0a7c906285d9d97b932f83e8979.zip
Simplify test for RAM devices
mtdblock is the only user of aggregate capabilities in mtd. This is clearly bogus and should be changed. In particular, it tries to determine whether the device in question is a piece of RAM. For every single driver that fits the current criteria, an easier test would be to check for the type being MTD_RAM. Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/mtdblock_ro.c')
0 files changed, 0 insertions, 0 deletions