diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-09-23 16:27:29 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-27 01:18:32 +0200 |
commit | 16a7c7cfd21cca8a260b63467e4f5c6a6d548b09 (patch) | |
tree | afc4909a331ffe1c79af8f767b726148f8c7df79 /drivers/pcmcia/sa1100_cerf.c | |
parent | mtd: atmel_nand: fix deferred probe from __init (diff) | |
download | linux-16a7c7cfd21cca8a260b63467e4f5c6a6d548b09.tar.xz linux-16a7c7cfd21cca8a260b63467e4f5c6a6d548b09.zip |
pcmcia: at91_cf: 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: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pcmcia/sa1100_cerf.c')
0 files changed, 0 insertions, 0 deletions