From dc642c28d4eb39d1c7f2f85bbf1cea45de4766af Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Wed, 30 Jan 2013 10:07:17 +0100 Subject: [PATCH] mmc: omap_hsmmc: support deferred probing for GPIOs If the CD/WP-GPIOs are not provided by the SoC's GPIO controller, we need to handle the case where omap_hsmmc is probed earlier than the GPIO controller chosen in the device tree. Fix this by checking the return value of of_get_named_gpio against -EPROBE_DEFER and passing it through to the probe function. Signed-off-by: Jan Luebbe Acked-by: Balaji T K Signed-off-by: Chris Ball --- Reading git-format-patch failed