summaryrefslogtreecommitdiff
path: root/drivers/pcmcia
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-09-23 18:27:28 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-27 03:18:32 +0400
commit2c2b928584f0b60e09031c06362d8b42ec55a7cd (patch)
treed86a0a89e77e58c58645bd3ac38267a8cdcf56cf /drivers/pcmcia
parent1867adee6ed7793a256ecdd623e1337988223c09 (diff)
downloadlinux-2c2b928584f0b60e09031c06362d8b42ec55a7cd.tar.xz
mtd: atmel_nand: fix deferred probe from __init
Move probe out of __init section and don't use platform_driver_probe which cannot be used with deferred probing. Since commit e9354576 ("gpiolib: Defer failed gpio requests by default") this driver might return -EPROBE_DEFER if a gpio_request fails. Cc: David Woodhouse <dwmw2@infradead.org> Cc: Josh Wu <josh.wu@atmel.com> Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pcmcia')
0 files changed, 0 insertions, 0 deletions