diff options
-rw-r--r-- | arch/arm/plat-samsung/include/plat/sdhci.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/arch/arm/plat-samsung/include/plat/sdhci.h b/arch/arm/plat-samsung/include/plat/sdhci.h index ce1d0f785efd..bf650218b40e 100644 --- a/arch/arm/plat-samsung/include/plat/sdhci.h +++ b/arch/arm/plat-samsung/include/plat/sdhci.h | |||
@@ -260,44 +260,6 @@ static inline void s5pv210_default_sdhci3(void) { } | |||
260 | 260 | ||
261 | #endif /* CONFIG_S5PV210_SETUP_SDHCI */ | 261 | #endif /* CONFIG_S5PV210_SETUP_SDHCI */ |
262 | 262 | ||
263 | /* EXYNOS4 SDHCI setup */ | ||
264 | #ifdef CONFIG_EXYNOS4_SETUP_SDHCI | ||
265 | static inline void exynos4_default_sdhci0(void) | ||
266 | { | ||
267 | #ifdef CONFIG_S3C_DEV_HSMMC | ||
268 | s3c_hsmmc0_def_platdata.cfg_gpio = exynos4_setup_sdhci0_cfg_gpio; | ||
269 | #endif | ||
270 | } | ||
271 | |||
272 | static inline void exynos4_default_sdhci1(void) | ||
273 | { | ||
274 | #ifdef CONFIG_S3C_DEV_HSMMC1 | ||
275 | s3c_hsmmc1_def_platdata.cfg_gpio = exynos4_setup_sdhci1_cfg_gpio; | ||
276 | #endif | ||
277 | } | ||
278 | |||
279 | static inline void exynos4_default_sdhci2(void) | ||
280 | { | ||
281 | #ifdef CONFIG_S3C_DEV_HSMMC2 | ||
282 | s3c_hsmmc2_def_platdata.cfg_gpio = exynos4_setup_sdhci2_cfg_gpio; | ||
283 | #endif | ||
284 | } | ||
285 | |||
286 | static inline void exynos4_default_sdhci3(void) | ||
287 | { | ||
288 | #ifdef CONFIG_S3C_DEV_HSMMC3 | ||
289 | s3c_hsmmc3_def_platdata.cfg_gpio = exynos4_setup_sdhci3_cfg_gpio; | ||
290 | #endif | ||
291 | } | ||
292 | |||
293 | #else | ||
294 | static inline void exynos4_default_sdhci0(void) { } | ||
295 | static inline void exynos4_default_sdhci1(void) { } | ||
296 | static inline void exynos4_default_sdhci2(void) { } | ||
297 | static inline void exynos4_default_sdhci3(void) { } | ||
298 | |||
299 | #endif /* CONFIG_EXYNOS4_SETUP_SDHCI */ | ||
300 | |||
301 | static inline void s3c_sdhci_setname(int id, char *name) | 263 | static inline void s3c_sdhci_setname(int id, char *name) |
302 | { | 264 | { |
303 | switch (id) { | 265 | switch (id) { |