diff options
author | Dan Murphy <dmurphy@ti.com> | 2011-06-24 12:19:33 -0500 |
---|---|---|
committer | Sebastien Jan <s-jan@ti.com> | 2011-11-23 16:24:48 +0100 |
commit | f68baf9aa30680009324f566a50288c3d7ec9b56 (patch) | |
tree | 09b5bcf50ce9b75f1e0bf042a40869b267a16195 | |
parent | 2734ca980ffba4b379e8a61de9240519e7745906 (diff) |
[Blaze] board-blaze-touch: Add linux friendly names
Add linux friendly input names. Removing spaces and
adding in underscores
Signed-off-by: Dan Murphy <dmurphy@ti.com>
-rw-r--r-- | arch/arm/mach-omap2/board-blaze-touch.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/board-blaze-touch.c b/arch/arm/mach-omap2/board-blaze-touch.c index 1f4b94baf6ea..bdbdbb4c50d9 100644 --- a/arch/arm/mach-omap2/board-blaze-touch.c +++ b/arch/arm/mach-omap2/board-blaze-touch.c @@ -33,12 +33,12 @@ #define OMAP4_TOUCH_IRQ_2 36 static char *tm12xx_idev_names[] = { - "Synaptic TM12XX TouchPoint 1", - "Synaptic TM12XX TouchPoint 2", - "Synaptic TM12XX TouchPoint 3", - "Synaptic TM12XX TouchPoint 4", - "Synaptic TM12XX TouchPoint 5", - "Synaptic TM12XX TouchPoint 6", + "syn_tm12xx_ts_1", + "syn_tm12xx_ts_2", + "syn_tm12xx_ts_3", + "syn_tm12xx_ts_4", + "syn_tm12xx_ts_5", + "syn_tm12xx_ts_6", NULL, }; @@ -55,6 +55,7 @@ static struct tm12xx_ts_platform_data tm12xx_platform_data[] = { .num_buttons = ARRAY_SIZE(tm12xx_button_map), .repeat = 0, .swap_xy = 1, + .controller_num = 0, /* Android does not have touchscreen as wakeup source */ #if !defined(CONFIG_ANDROID) .suspend_state = SYNTM12XX_ON_ON_SUSPEND, @@ -69,6 +70,7 @@ static struct tm12xx_ts_platform_data tm12xx_platform_data[] = { .num_buttons = ARRAY_SIZE(tm12xx_button_map), .repeat = 0, .swap_xy = 1, + .controller_num = 1, /* Android does not have touchscreen as wakeup source */ #if !defined(CONFIG_ANDROID) .suspend_state = SYNTM12XX_ON_ON_SUSPEND, |