]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: omap_hsmmc: Make DM_GPIO calls dependent on DM_GPIO
authorAdam Ford <aford173@gmail.com>
Tue, 21 Aug 2018 12:16:56 +0000 (07:16 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Sep 2018 01:39:11 +0000 (21:39 -0400)
commit307a214329908e4abc0f978b9a10b1467e3872c6
tree1a5f286ec4c8ad8c9689f4a7f9360bf11450b2ac
parent750df1979d5713b3b8a5aab91315d90b9966c60e
mmc: omap_hsmmc: Make DM_GPIO calls dependent on DM_GPIO

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@gmail.com>
drivers/mmc/omap_hsmmc.c