[MTD] Allow variable block sizes in mtd_blkdevs
authorRichard Purdie <rpurdie@openedhand.com>
Fri, 27 Oct 2006 08:09:33 +0000 (09:09 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 28 Nov 2006 22:27:47 +0000 (22:27 +0000)
commit191876729901d0c8dab8a331f9a1e4b73a56457b
tree1e25eb24ac84c09b0300e32eea55b33adc567015
parent90afffc8bd79d130b58acd18f972ce4e00b8e20f
[MTD] Allow variable block sizes in mtd_blkdevs

Currently, mtd_blkdevs enforces a block size of 512, even if the drivers
can seemingly request a different size. This patch fixes mtd_blkdevs so
block sizes other than 512 work correctly.

Signed-off-by: Richard Purdie <rpurdie@openedhand.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/ftl.c
drivers/mtd/inftlcore.c
drivers/mtd/mtd_blkdevs.c
drivers/mtd/mtdblock.c
drivers/mtd/mtdblock_ro.c
drivers/mtd/nftlcore.c
drivers/mtd/rfd_ftl.c
include/linux/mtd/blktrans.h