ARM: Samsung: Moving a touchscreen related header file to plat-samsung
Subsystems (4)
PATCH 2/6 ARM: Samsung: Moving a touchscreen related header file to plat-samsung
From: Naveen Krishna <[email protected]>
As code can be reused by touchscreens on all Samsung SoCs Also makes required modifications in some machines to avoid build breaks.
Signed-off-by Naveen Krishna Ch <[email protected]>
Signed-off-by Kukjin Kim <[email protected]>
--- arch/arm/mach-s3c2410/include/mach/ts.h | 21 --------------------- arch/arm/mach-s3c2410/mach-h1940.c | 2 +- arch/arm/plat-s3c24xx/devs.c | 2 +- arch/arm/plat-samsung/include/plat/ts.h | 21 +++++++++++++++++++++ drivers/input/touchscreen/s3c2410_ts.c | 2 +- 5 files changed, 24 insertions(+), 24 deletions(-) delete mode 100644 arch/arm/mach-s3c2410/include/mach/ts.h create mode 100644 arch/arm/plat-samsung/include/plat/ts.h
arch/arm/mach-s3c2410/include/mach/ts.h deleted +0 -21
@@ -1,21 +0,0 @@ -/* linux/include/asm/arch-s3c2410/ts.h -* -* Copyright (c) 2005 Arnaud Patard <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. -*/ - -#ifndef __ASM_ARM_TS_H -#define __ASM_ARM_TS_H - -struct s3c2410_ts_mach_info { -int delay; -int presc; -int oversampling_shift; -}; - -extern void s3c24xx_ts_set_platdata (struct s3c2410_ts_mach_info *); - -#endif /* __ASM_ARM_TS_H */
arch/arm/mach-s3c2410/mach-h1940.c +1 -1
@@ -46,7 +46,7 @@#include <mach/h1940.h> #include <mach/h1940-latch.h> #include <mach/fb.h> -#include <mach/ts.h> +#include <plat/ts.h> #include <plat/udc.h> #include <plat/iic.h>
arch/arm/plat-s3c24xx/devs.c +1 -1
@@ -38,7 +38,7 @@#include <plat/cpu.h> #include <plat/regs-spi.h> -#include <mach/ts.h> +#include <plat/ts.h> /* Serial port registrations */
arch/arm/plat-samsung/include/plat/ts.h new file +21 -0
@@ -0,0 +1,21 @@ +/* linux/arch/arm/plat-samsung/include/plat/ts.h +* +* Copyright (c) 2005 Arnaud Patard <[email protected]> +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License version 2 as +* published by the Free Software Foundation. +*/ + +#ifndef __ASM_ARM_TS_H +#define __ASM_ARM_TS_H + +struct s3c2410_ts_mach_info { +int delay; +int presc; +int oversampling_shift; +}; + +extern void s3c24xx_ts_set_platdata (struct s3c2410_ts_mach_info *); + +#endif /* __ASM_ARM_TS_H */
drivers/input/touchscreen/s3c2410_ts.c +1 -1
@@ -40,7 +40,7 @@#include <plat/regs-adc.h> #include <mach/regs-gpio.h> -#include <mach/ts.h> +#include <plat/ts.h> #define TSC_SLEEP (S3C2410_ADCTSC_PULL_UP_DISABLE | S3C2410_ADCTSC_XY_PST(0))
Signature · 1 line
1.6.6.1