[U-Boot] mmc: omap_hsmmc: Make DM_GPIO calls dependent on DM_GPIO
Tom Rini
trini at konsulko.com
Tue Sep 18 21:25:53 UTC 2018
On Tue, Aug 21, 2018 at 07:16:56AM -0500, Adam Ford wrote:
> The getcd and getwp functions when DM_MMC is enabled are
> assumming the DM_GPIO is enabled. In cases (like SPL) where
> DM_GPIO may not be enabled, wrap these calls in an #ifdef
>
> Signed-off-by: Adam Ford <aford173 at gmail.com>
>
> diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c
> index caaa914604..4d171f457e 100644
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180918/48afc321/attachment.sig>
More information about the U-Boot
mailing list