aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/core/core.c')
-rw-r--r--drivers/mmc/core/core.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index e33a805..ddd6d50 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -214,7 +214,8 @@ static void __mmc_start_req(struct mmc_host *host, struct mmc_request *mrq)
}
#if (defined(CONFIG_MIDAS_COMMON) && !defined(CONFIG_EXYNOS4_DEV_DWMCI)) || \
- defined(CONFIG_MACH_U1) || defined(CONFIG_MACH_SLP_NAPLES)
+ defined(CONFIG_MACH_U1) || defined(CONFIG_MACH_SLP_NAPLES) || \
+ defined(CONFIG_MACH_TRATS)
#ifndef CONFIG_MMC_POLLING_WAIT_CMD23
if(mrq->sbc) {
@@ -2695,7 +2696,11 @@ static void __exit mmc_exit(void)
destroy_workqueue(workqueue);
}
+#ifdef CONFIG_FAST_RESUME
+beforeresume_initcall(mmc_init);
+#else
subsys_initcall(mmc_init);
+#endif
module_exit(mmc_exit);
MODULE_LICENSE("GPL");