commit | 1867adee6ed7793a256ecdd623e1337988223c09 | [log] [tgz] |
---|---|---|
author | Johan Hovold <jhovold@gmail.com> | Mon Sep 23 16:27:27 2013 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Sep 26 16:18:32 2013 -0700 |
tree | 305cf5948e6da5c95a6ea64924f3776a39407b8e | |
parent | 3f9120b0424f3e03c75518cb751f9e2bfa73c32a [diff] |
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>