diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-s3c2410/include/mach/ts.h | 30 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/mach-gta01.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2440/mach-gta02.c | 2 |
3 files changed, 32 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c2410/include/mach/ts.h b/arch/arm/mach-s3c2410/include/mach/ts.h new file mode 100644 index 00000000000..6fa75f6c0ab --- /dev/null +++ b/arch/arm/mach-s3c2410/include/mach/ts.h @@ -0,0 +1,30 @@ +/* arch/arm/mach-s3c2410/include/mach/ts.h + * + * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org> + * + * + * 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. + * + * + * Changelog: + * 24-Mar-2005 RTP Created file + * 03-Aug-2005 RTP Renamed to ts.h + */ + +#ifndef __ASM_ARM_TS_H +#define __ASM_ARM_TS_H + +struct s3c2410_ts_mach_info { + int delay; + int presc; + int oversampling_shift; + int excursion_filter_len_bits; + int reject_threshold_vs_avg; +}; + +void set_s3c2410ts_info(struct s3c2410_ts_mach_info *hard_s3c2410ts_info); + +#endif /* __ASM_ARM_TS_H */ + diff --git a/arch/arm/mach-s3c2410/mach-gta01.c b/arch/arm/mach-s3c2410/mach-gta01.c index b37f43c6496..83c29eb56b5 100644 --- a/arch/arm/mach-s3c2410/mach-gta01.c +++ b/arch/arm/mach-s3c2410/mach-gta01.c @@ -34,7 +34,7 @@ #include <linux/platform_device.h> #include <linux/i2c.h> #include <linux/serial_core.h> -#include <asm/arch/ts.h> +#include <mach/ts.h> #include <linux/spi/spi.h> #include <linux/spi/spi_bitbang.h> #include <linux/mmc/mmc.h> diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c index ee6159bd571..6f9cf3e538f 100644 --- a/arch/arm/mach-s3c2440/mach-gta02.c +++ b/arch/arm/mach-s3c2440/mach-gta02.c @@ -62,7 +62,7 @@ #include <mach/regs-gpioj.h> #include <mach/fb.h> #include <mach/mci.h> -#include <asm/arch-s3c2410/ts.h> +#include <mach/ts.h> #include <mach/spi.h> #include <asm/arch-s3c2410/spi-gpio.h> #include <mach/usb-control.h> |