]> git.baikalelectronics.ru Git - uboot.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)
commit713151ba3624e92c7d23ce5cd8670fd1bfb3df7d
tree1a5f286ec4c8ad8c9689f4a7f9360bf11450b2ac
parent121284b2f812c652d15a3f4ef77b6e458df632be
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