diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-08-18 16:23:32 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-08-18 16:23:32 -0400 |
commit | 8c3736e20ee387acefffdfcac560ea23ee6fd4d8 (patch) | |
tree | 8af62b8ca3006189b631481cd275bb7c77b657a0 /arch/arm/plat-samsung | |
parent | 644a79a8869e606d95492a33bc5b38f6ed15f3e2 (diff) |
ARM: SAMSUNG: Remove unnecessary exynos4_default_sdhci*()
Commit 17397a2("ARM: EXYNOS: Remove platform device initialization")
removes calling exynos4_default_sdhci*() functions; thus, these are
not necessary any more.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung')
-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) { |