aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic/docproc.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2009-09-18 12:51:43 -0700
committerDavid Woodhouse <[email protected]>2009-09-19 11:06:30 -0700
commitf33dabbe79fdf7a8568c65faa1db7794c87ac4d3 (patch)
treed4aa7c13c000240f5d914b8995ea07d8dd06929f /scripts/basic/docproc.c
parent2eaaa5ff87c675aacd3a869fc5fe75a35bbd5278 (diff)
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 <[email protected]> Cc: Lennert Buytenhek <[email protected]> Cc: Saeed Bishara <[email protected]> Cc: Joern Engel <[email protected]> Acked-by: Nicolas Pitre <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions