linux-stable/include/linux/mtd
Lennert Buytenhek 73566edf9b [MTD] Convert physmap to platform driver
After dwmw2 let me know it ought to be done, I rewrote the physmap map
driver to be a platform driver.  I know zilch about the driver model,
so I probably botched it in some way, but I've done some tests on an
ixp23xx board which uses physmap, and it all seems to work.

In order to not break existing physmap users, I've added some compat
code that will instantiate a platform device iff CONFIG_MTD_PHYSMAP_LEN
is defined and != 0.  Also, I've changed the default value for
CONFIG_MTD_PHYSMAP_LEN to zero, so that people who inadvertently
compile in physmap (or new, platform-style, users of physmap) don't get
burned.

This works pretty well -- the new physmap driver is a drop-in replacement
for the old one, and works on said ixp23xx board without any code changes
needed.  (This should hold as long as users don't touch 'physmap_map'
directly.)

Once all physmap users have been converted to instantiate their own
platform devices, the compat code can go.  (Or we decide that we can
change all the in-tree users at the same time, and never merge the
compat code.)

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-05-07 17:16:36 +01:00
..
bbm.h [MTD] includes: Clean up trailing white spaces 2005-11-07 14:32:58 +01:00
blktrans.h [PATCH] sem2mutex: drivers/mtd/ 2006-03-31 12:18:48 -08:00
cfi.h [MTD] CFI: Use 16-bit access to autoselect/read device id data 2005-11-29 19:27:24 +01:00
cfi_endian.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compatmac.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
concat.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
doc2000.h [PATCH] sem2mutex: drivers/mtd/ 2006-03-31 12:18:48 -08:00
flashchip.h [MTD] includes: Clean up trailing white spaces 2005-11-07 14:32:58 +01:00
ftl.h [MTD] includes: Clean up trailing white spaces 2005-11-07 14:32:58 +01:00
gen_probe.h [MTD] includes: Clean up trailing white spaces 2005-11-07 14:32:58 +01:00
iflash.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inftl.h [PATCH] drivers/mtd/: small cleanups 2006-03-31 12:18:48 -08:00
jedec.h [MTD] includes: Clean up trailing white spaces 2005-11-07 14:32:58 +01:00
map.h [PATCH] remove bogus asm/bug.h includes. 2006-02-07 20:56:35 -05:00
mtd.h [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
nand.h [MTD] includes: Clean up trailing white spaces 2005-11-07 14:32:58 +01:00
nand_ecc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nftl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
onenand.h [PATCH] mtd onenand driver: reduce stack usage 2005-12-18 16:28:24 -08:00
onenand_regs.h [PATCH] OneNAND: Sync. Burst Read support 2005-11-06 21:19:37 +01:00
partitions.h [MTD] includes: Clean up trailing white spaces 2005-11-07 14:32:58 +01:00
physmap.h [MTD] Convert physmap to platform driver 2006-05-07 17:16:36 +01:00
plat-ram.h [MTD] Platform RAM Driver 2005-05-23 11:33:47 +02:00
pmc551.h [MTD] includes: Clean up trailing white spaces 2005-11-07 14:32:58 +01:00
xip.h [MTD] includes: Clean up trailing white spaces 2005-11-07 14:32:58 +01:00