diff options
author | Iiro Valkonen <iiro.valkonen@atmel.com> | 2011-02-15 16:36:52 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-02-21 04:02:34 -0500 |
commit | 919ed895f0b4227da26ea1b0a1347db5010f105e (patch) | |
tree | eb81c0ee83be2171b831412460258027884c2a02 /arch/arm/mach-s5pv210 | |
parent | 71749f5c66e797a39600dae9de58aab3858dc488 (diff) |
Input: atmel_mxt_ts - allow board code to specify IRQ flags
Different board have different requirements/setups so let's be more
flexible.
Signed-off-by: Iiro Valkonen <iiro.valkonen@atmel.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'arch/arm/mach-s5pv210')
-rw-r--r-- | arch/arm/mach-s5pv210/mach-goni.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c index e9a7d340f4e1..be0eb7a2e612 100644 --- a/arch/arm/mach-s5pv210/mach-goni.c +++ b/arch/arm/mach-s5pv210/mach-goni.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <linux/gpio_keys.h> | 25 | #include <linux/gpio_keys.h> |
26 | #include <linux/input.h> | 26 | #include <linux/input.h> |
27 | #include <linux/gpio.h> | 27 | #include <linux/gpio.h> |
28 | #include <linux/interrupt.h> | ||
28 | 29 | ||
29 | #include <asm/mach/arch.h> | 30 | #include <asm/mach/arch.h> |
30 | #include <asm/mach/map.h> | 31 | #include <asm/mach/map.h> |
@@ -231,6 +232,7 @@ static struct mxt_platform_data qt602240_platform_data = { | |||
231 | .threshold = 0x28, | 232 | .threshold = 0x28, |
232 | .voltage = 2800000, /* 2.8V */ | 233 | .voltage = 2800000, /* 2.8V */ |
233 | .orient = MXT_DIAGONAL, | 234 | .orient = MXT_DIAGONAL, |
235 | .irqflags = IRQF_TRIGGER_FALLING, | ||
234 | }; | 236 | }; |
235 | 237 | ||
236 | static struct s3c2410_platform_i2c i2c2_data __initdata = { | 238 | static struct s3c2410_platform_i2c i2c2_data __initdata = { |