linux/drivers/mtd/nand
Uwe Kleine-König f33dabbe79 mtd: nand: register orion_nand using platform_driver_probe()
orion_nand_probe lives in .init.text, so using platform_driver_register to
register it is wrong because binding a device after the init memory is
discarded (e.g.  via sysfs) results in an oops.

As requested by Nicolas Pitre platform_driver_probe is used instead of
moving the probe function to .devinit.text as proposed initially.  This
saves some memory, but devices registered after the driver is probed are
not bound (probably there are none) and binding via sysfs isn't possible.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Lennert Buytenhek <buytenh@marvell.com>
Cc: Saeed Bishara <saeed@marvell.com>
Cc: Joern Engel <joern@logfs.org>
Acked-by: Nicolas Pitre <nico@marvell.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2009-09-19 11:06:30 -07:00
..
alauda.c
ams-delta.c
atmel_nand_ecc.h
atmel_nand.c mtd: atmel_nand: Fix typo s/parititions/partitions/ 2009-06-25 08:18:36 +01:00
au1550nd.c
autcpu12.c
bf5xx_nand.c
cafe_nand.c
cmx270_nand.c
cs553x_nand.c
davinci_nand.c
diskonchip.c
edb7312.c
excite_nandflash.c
fsl_elbc_nand.c
fsl_upm.c
gpio.c
h1910.c
Kconfig
Makefile
mxc_nand.c
nand_base.c mtd: nand_base: allow drivers to choose ECC block size 2009-09-04 09:39:11 +01:00
nand_bbt.c
nand_ecc.c
nand_ids.c
nandsim.c
ndfc.c
omap2.c mtd: nand: fix build failure and incorrect return from omap_wait() 2009-06-28 10:24:13 +01:00
orion_nand.c mtd: nand: register orion_nand using platform_driver_probe() 2009-09-19 11:06:30 -07:00
pasemi_nand.c
plat_nand.c
ppchameleonevb.c
pxa3xx_nand.c
rtc_from4.c
s3c2410.c
sh_flctl.c
sharpsl.c
socrates_nand.c
spia.c
tmio_nand.c
ts7250.c mtd: ep93xx: cleanup includes in ts7250 nand driver 2009-09-04 09:35:12 +01:00
txx9ndfmc.c