From f4df405f0e7ee22e24ff19bb8057b21c9e80dd2a Mon Sep 17 00:00:00 2001 From: Adam Ford Date: Sat, 8 Sep 2018 08:16:23 -0500 Subject: mmc: omap_mmc: Remove invert references With DM_GPIO and DM_MMC translating GPIO_ACTIVE_LOW, any boards using the 'cd-invert' option will no longer need to do this. This patch removes the support for 'invert' from the MMC driver. Signed-off-by: Adam Ford [trini: Fix warning over when !DM_GPIO] Signed-off-by: Tom Rini --- arch/arm/include/asm/omap_mmc.h | 1 - 1 file changed, 1 deletion(-) (limited to 'arch') diff --git a/arch/arm/include/asm/omap_mmc.h b/arch/arm/include/asm/omap_mmc.h index 42ce8dcd6d..6d31cc4422 100644 --- a/arch/arm/include/asm/omap_mmc.h +++ b/arch/arm/include/asm/omap_mmc.h @@ -68,7 +68,6 @@ struct omap_hsmmc_plat { struct mmc_config cfg; struct hsmmc *base_addr; struct mmc *mmc; - bool cd_inverted; u32 controller_flags; const char *hw_rev; }; -- cgit v1.2.1