]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: sdhci-s3c: remove platform dependencies
authorArnd Bergmann <arnd@arndb.de>
Mon, 4 Mar 2013 17:28:21 +0000 (18:28 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 19 Apr 2013 11:51:23 +0000 (13:51 +0200)
commitcc014f3e29e15140e35e14fa194034baee92df2a
tree0cdd69202fef892fb3f14e4d8f534493329f166b
parentf76da510d61a8793c990bee9acc10744ee2b2a8c
mmc: sdhci-s3c: remove platform dependencies

plat/regs-sdhci.h is not used anywhere but in the sdhci-s3c
driver, so it can become a local file there and all other
inclusions removed.

plat/sdhci.h is used only to define the platform devices,
and with the exception of the platform_data structure not
needed by the driver, so we can split out the platform_data
definition instead and leave the rest to platform code.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Chris Ball <cjb@laptop.org>
arch/arm/mach-exynos/setup-sdhci-gpio.c
arch/arm/mach-s5pc100/setup-sdhci-gpio.c
arch/arm/mach-s5pv210/setup-sdhci-gpio.c
arch/arm/plat-samsung/include/plat/sdhci.h
drivers/mmc/host/Kconfig
drivers/mmc/host/sdhci-s3c-regs.h [moved from arch/arm/plat-samsung/include/plat/regs-sdhci.h with 100% similarity]
drivers/mmc/host/sdhci-s3c.c
include/linux/platform_data/mmc-sdhci-s3c.h [new file with mode: 0644]