aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2010-05-19 01:36:28 -0400
committerBen Dooks <ben-linux@fluff.org>2010-05-19 05:25:30 -0400
commit2b6c02abca5a04bf8d9f8a3b1976a5b10d317603 (patch)
tree25f22fe271f6bf713b41bfdbe4719e713aea7062
parent5bfdca146edc558ae6b3bac6b05dc5b1f094fbf3 (diff)
ARM: SAMSUNG: Move s3c64xx dev-ts.c to plat-samsung and rename configuration
Move the arch/arm/mach-s3c64xx/dev-ts.c file to arch/arm/plat-samsung and rename the Kconfig entry appropriately. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
-rw-r--r--arch/arm/plat-samsung/Kconfig5
-rw-r--r--arch/arm/plat-samsung/Makefile1
-rw-r--r--arch/arm/plat-samsung/dev-ts.c (renamed from arch/arm/mach-s3c64xx/dev-ts.c)4
3 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig
index 896b171bd430..229919e9744c 100644
--- a/arch/arm/plat-samsung/Kconfig
+++ b/arch/arm/plat-samsung/Kconfig
@@ -206,11 +206,10 @@ config S3C64XX_DEV_SPI
206 Compile in platform device definitions for S3C64XX's type 206 Compile in platform device definitions for S3C64XX's type
207 SPI controllers. 207 SPI controllers.
208 208
209config S3C64XX_DEV_TS 209config SAMSUNG_DEV_TS
210 bool 210 bool
211 help 211 help
212 Common in platform device definitions for S3C64XX touchscreen 212 Common in platform device definitions for touchscreen device
213 device
214 213
215# DMA 214# DMA
216 215
diff --git a/arch/arm/plat-samsung/Makefile b/arch/arm/plat-samsung/Makefile
index 7068af322e73..48288499a3b9 100644
--- a/arch/arm/plat-samsung/Makefile
+++ b/arch/arm/plat-samsung/Makefile
@@ -44,6 +44,7 @@ obj-$(CONFIG_S3C_DEV_NAND) += dev-nand.o
44obj-$(CONFIG_S3C_DEV_RTC) += dev-rtc.o 44obj-$(CONFIG_S3C_DEV_RTC) += dev-rtc.o
45 45
46obj-$(CONFIG_SAMSUNG_DEV_ADC) += dev-adc.o 46obj-$(CONFIG_SAMSUNG_DEV_ADC) += dev-adc.o
47obj-$(CONFIG_SAMSUNG_DEV_TS) += dev-ts.o
47 48
48# DMA support 49# DMA support
49 50
diff --git a/arch/arm/mach-s3c64xx/dev-ts.c b/arch/arm/plat-samsung/dev-ts.c
index 17cc7934afbe..236ef8427d7d 100644
--- a/arch/arm/mach-s3c64xx/dev-ts.c
+++ b/arch/arm/plat-samsung/dev-ts.c
@@ -25,8 +25,8 @@
25 25
26static struct resource s3c_ts_resource[] = { 26static struct resource s3c_ts_resource[] = {
27 [0] = { 27 [0] = {
28 .start = S3C64XX_PA_ADC, 28 .start = SAMSUNG_PA_ADC,
29 .end = S3C64XX_PA_ADC + SZ_256 - 1, 29 .end = SAMSUNG_PA_ADC + SZ_256 - 1,
30 .flags = IORESOURCE_MEM, 30 .flags = IORESOURCE_MEM,
31 }, 31 },
32 [1] = { 32 [1] = {