diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-09-23 16:27:27 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 16:18:32 -0700 |
commit | 1867adee6ed7793a256ecdd623e1337988223c09 (patch) | |
tree | 305cf5948e6da5c95a6ea64924f3776a39407b8e /drivers/acpi/proc.c | |
parent | 3f9120b0424f3e03c75518cb751f9e2bfa73c32a (diff) | |
download | linux-stable-1867adee6ed7793a256ecdd623e1337988223c09.tar.gz linux-stable-1867adee6ed7793a256ecdd623e1337988223c09.tar.bz2 linux-stable-1867adee6ed7793a256ecdd623e1337988223c09.zip |
mmc: mvsdio: 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 the mmc_gpio_request_cd fails.
Cc: Nicolas Pitre <nico@fluxnic.net>
Cc: Chris Ball <cjb@laptop.org>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/acpi/proc.c')
0 files changed, 0 insertions, 0 deletions