diff --git a/drivers/mmc/host/sdhci-of-dwcmshc.c b/drivers/mmc/host/sdhci-of-dwcmshc.c index 5e55b6439c71..4d57d977a4c8 100644 --- a/drivers/mmc/host/sdhci-of-dwcmshc.c +++ b/drivers/mmc/host/sdhci-of-dwcmshc.c @@ -1084,6 +1084,9 @@ disable_clk: clk_disable_unprepare(pltfm_host->clk); return ret; } +#endif + +#ifdef CONFIG_PM static int dwcmshc_runtime_suspend(struct device *dev) {