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>
This commit is contained in:
Родитель
5bfdca146e
Коммит
2b6c02abca
|
@ -206,11 +206,10 @@ config S3C64XX_DEV_SPI
|
||||||
Compile in platform device definitions for S3C64XX's type
|
Compile in platform device definitions for S3C64XX's type
|
||||||
SPI controllers.
|
SPI controllers.
|
||||||
|
|
||||||
config S3C64XX_DEV_TS
|
config SAMSUNG_DEV_TS
|
||||||
bool
|
bool
|
||||||
help
|
help
|
||||||
Common in platform device definitions for S3C64XX touchscreen
|
Common in platform device definitions for touchscreen device
|
||||||
device
|
|
||||||
|
|
||||||
# DMA
|
# DMA
|
||||||
|
|
||||||
|
|
|
@ -44,6 +44,7 @@ obj-$(CONFIG_S3C_DEV_NAND) += dev-nand.o
|
||||||
obj-$(CONFIG_S3C_DEV_RTC) += dev-rtc.o
|
obj-$(CONFIG_S3C_DEV_RTC) += dev-rtc.o
|
||||||
|
|
||||||
obj-$(CONFIG_SAMSUNG_DEV_ADC) += dev-adc.o
|
obj-$(CONFIG_SAMSUNG_DEV_ADC) += dev-adc.o
|
||||||
|
obj-$(CONFIG_SAMSUNG_DEV_TS) += dev-ts.o
|
||||||
|
|
||||||
# DMA support
|
# DMA support
|
||||||
|
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
|
|
||||||
static struct resource s3c_ts_resource[] = {
|
static struct resource s3c_ts_resource[] = {
|
||||||
[0] = {
|
[0] = {
|
||||||
.start = S3C64XX_PA_ADC,
|
.start = SAMSUNG_PA_ADC,
|
||||||
.end = S3C64XX_PA_ADC + SZ_256 - 1,
|
.end = SAMSUNG_PA_ADC + SZ_256 - 1,
|
||||||
.flags = IORESOURCE_MEM,
|
.flags = IORESOURCE_MEM,
|
||||||
},
|
},
|
||||||
[1] = {
|
[1] = {
|
Загрузка…
Ссылка в новой задаче