diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-09-23 14:27:28 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 23:18:32 (GMT) |
commit | 2c2b928584f0b60e09031c06362d8b42ec55a7cd (patch) | |
tree | d86a0a89e77e58c58645bd3ac38267a8cdcf56cf /drivers/pcmcia | |
parent | 1867adee6ed7793a256ecdd623e1337988223c09 (diff) | |
download | linux-fsl-qoriq-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