]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mmc/arm_pl180_mmci.h
mmc: arm_pl180_mmci: add .getcd callback
[people/ms/u-boot.git] / drivers / mmc / arm_pl180_mmci.h
index b93528870458585eaa72a11714d03c34ec8093a7..9df4b75470f8dc7d41b3d29c122e36eedf78db28 100644 (file)
@@ -191,6 +191,10 @@ struct pl180_mmc_host {
        unsigned int pwr_init;
        int version2;
        struct mmc_config cfg;
+#ifdef CONFIG_DM_MMC
+       struct gpio_desc cd_gpio;
+       bool cd_inverted;
+#endif
 };
 
 int arm_pl180_mmci_init(struct pl180_mmc_host *host, struct mmc **mmc);