diff options
author | Christian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de> | 2010-08-10 21:01:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-11 11:59:04 -0400 |
commit | 762333e344144283a9da97a34b5dded51ff61b27 (patch) | |
tree | 8bc2af8a99e66cbbcba359f7bd8ca76cd332ec34 /drivers | |
parent | ed199f7e7346ba508f803180ecc6830e92558a1e (diff) |
drivers/mmc/host/msm-sdcc: remove dead config options
CONFIG_MMC_MSM7X00A_RESUME_IN_WQ and CONFIG_MMC_EMBEDDED_SDIO don't exist
in Kconfig and is never defined anywhere else, therefore removing all
references for it from the source code.
Signed-off-by: Christian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de>
Acked-by: David Brown <davidb@codeaurora.org>
Cc: Daniel Walker <dwalker@codeaurora.org>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/host/msm_sdcc.c | 25 | ||||
-rw-r--r-- | drivers/mmc/host/msm_sdcc.h | 4 |
2 files changed, 0 insertions, 29 deletions
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c index 24e09454e522..3bd8ff71ec22 100644 --- a/drivers/mmc/host/msm_sdcc.c +++ b/drivers/mmc/host/msm_sdcc.c | |||
@@ -1057,22 +1057,6 @@ msmsdcc_init_dma(struct msmsdcc_host *host) | |||
1057 | return 0; | 1057 | return 0; |
1058 | } | 1058 | } |
1059 | 1059 | ||
1060 | #ifdef CONFIG_MMC_MSM7X00A_RESUME_IN_WQ | ||
1061 | static void | ||
1062 | do_resume_work(struct work_struct *work) | ||
1063 | { | ||
1064 | struct msmsdcc_host *host = | ||
1065 | container_of(work, struct msmsdcc_host, resume_task); | ||
1066 | struct mmc_host *mmc = host->mmc; | ||
1067 | |||
1068 | if (mmc) { | ||
1069 | mmc_resume_host(mmc); | ||
1070 | if (host->stat_irq) | ||
1071 | enable_irq(host->stat_irq); | ||
1072 | } | ||
1073 | } | ||
1074 | #endif | ||
1075 | |||
1076 | static int | 1060 | static int |
1077 | msmsdcc_probe(struct platform_device *pdev) | 1061 | msmsdcc_probe(struct platform_device *pdev) |
1078 | { | 1062 | { |
@@ -1145,15 +1129,6 @@ msmsdcc_probe(struct platform_device *pdev) | |||
1145 | host->dmares = dmares; | 1129 | host->dmares = dmares; |
1146 | spin_lock_init(&host->lock); | 1130 | spin_lock_init(&host->lock); |
1147 | 1131 | ||
1148 | #ifdef CONFIG_MMC_EMBEDDED_SDIO | ||
1149 | if (plat->embedded_sdio) | ||
1150 | mmc_set_embedded_sdio_data(mmc, | ||
1151 | &plat->embedded_sdio->cis, | ||
1152 | &plat->embedded_sdio->cccr, | ||
1153 | plat->embedded_sdio->funcs, | ||
1154 | plat->embedded_sdio->num_funcs); | ||
1155 | #endif | ||
1156 | |||
1157 | /* | 1132 | /* |
1158 | * Setup DMA | 1133 | * Setup DMA |
1159 | */ | 1134 | */ |
diff --git a/drivers/mmc/host/msm_sdcc.h b/drivers/mmc/host/msm_sdcc.h index da0039c9285e..d7dedcf33b5b 100644 --- a/drivers/mmc/host/msm_sdcc.h +++ b/drivers/mmc/host/msm_sdcc.h | |||
@@ -235,10 +235,6 @@ struct msmsdcc_host { | |||
235 | int cmdpoll; | 235 | int cmdpoll; |
236 | struct msmsdcc_stats stats; | 236 | struct msmsdcc_stats stats; |
237 | 237 | ||
238 | #ifdef CONFIG_MMC_MSM7X00A_RESUME_IN_WQ | ||
239 | struct work_struct resume_task; | ||
240 | #endif | ||
241 | |||
242 | /* Command parameters */ | 238 | /* Command parameters */ |
243 | unsigned int cmd_timeout; | 239 | unsigned int cmd_timeout; |
244 | unsigned int cmd_pio_irqmask; | 240 | unsigned int cmd_pio_irqmask; |