diff --git a/sys/dev/mmc/mmc_fdt_helpers.h b/sys/dev/mmc/mmc_fdt_helpers.h --- a/sys/dev/mmc/mmc_fdt_helpers.h +++ b/sys/dev/mmc/mmc_fdt_helpers.h @@ -33,9 +33,7 @@ #include #include -#ifdef EXT_RESOURCES #include -#endif #include diff --git a/sys/dev/mmc/mmc_fdt_helpers.c b/sys/dev/mmc/mmc_fdt_helpers.c --- a/sys/dev/mmc/mmc_fdt_helpers.c +++ b/sys/dev/mmc/mmc_fdt_helpers.c @@ -41,9 +41,7 @@ #include #include -#ifdef EXT_RESOURCES #include -#endif #include @@ -61,7 +59,6 @@ helper->props = mmc_helper.props; -#ifdef EXT_RESOURCES /* * Get the regulators if they are supported and * clean the non supported modes based on the available voltages. @@ -98,7 +95,6 @@ host->caps |= MMC_CAP_SIGNALING_330; } else host->caps |= MMC_CAP_SIGNALING_330; -#endif if (OF_hasprop(node, "mmc-pwrseq")) { if (OF_getencprop(node, "mmc-pwrseq", &pwrseq_xref, sizeof(pwrseq_xref)) == -1) { diff --git a/sys/dev/mmc/mmc_helpers.h b/sys/dev/mmc/mmc_helpers.h --- a/sys/dev/mmc/mmc_helpers.h +++ b/sys/dev/mmc/mmc_helpers.h @@ -30,9 +30,7 @@ #include -#ifdef EXT_RESOURCES #include -#endif struct mmc_helper { device_t dev; @@ -56,10 +54,8 @@ #define MMC_PROP_NO_SD (1 << 6) #define MMC_PROP_NO_MMC (1 << 7) -#ifdef EXT_RESOURCES regulator_t vmmc_supply; regulator_t vqmmc_supply; -#endif device_t mmc_pwrseq; };