summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-touch-panjit_i2c.c
diff options
context:
space:
mode:
authorJin Qian <jqian@nvidia.com>2011-03-25 12:34:31 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-04-26 15:54:41 -0700
commit98e5352aed58693a46f409b78a8cd93b9a6a318c (patch)
tree8ef134602cc15d24559d8443a27e09a9903340a5 /arch/arm/mach-tegra/board-touch-panjit_i2c.c
parent2ed1f62ad5a22bf74a2bee4a8ccf69c5fe440d7e (diff)
ARM: tegra: ventana: fix build errors
Original-Change-Id: Ic7acc7057e742299b812e7dd0fb151cc5baaa79b Reviewed-on: http://git-master/r/24329 Reviewed-by: Jin Qian <jqian@nvidia.com> Tested-by: Jin Qian <jqian@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Change-Id: I81549007b4ce86d1b87bbe31db3da999d3d4e0fa
Diffstat (limited to 'arch/arm/mach-tegra/board-touch-panjit_i2c.c')
-rw-r--r--arch/arm/mach-tegra/board-touch-panjit_i2c.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/board-touch-panjit_i2c.c b/arch/arm/mach-tegra/board-touch-panjit_i2c.c
index 58b39ac06a59..9dba7566f267 100644
--- a/arch/arm/mach-tegra/board-touch-panjit_i2c.c
+++ b/arch/arm/mach-tegra/board-touch-panjit_i2c.c
@@ -36,20 +36,20 @@
#include "touch.h"
static struct panjit_i2c_ts_platform_data panjit_data = {
- .gpio_reset = TOUCH_GPIO_RST,
+ .gpio_reset = TOUCH_GPIO_RST_PANJIT,
};
static const struct i2c_board_info panjit_i2c_info[] = {
{
I2C_BOARD_INFO("panjit_touch", 0x3),
- .irq = TEGRA_GPIO_TO_IRQ(TOUCH_GPIO_IRQ),
+ .irq = TEGRA_GPIO_TO_IRQ(TOUCH_GPIO_IRQ_PANJIT),
.platform_data = &panjit_data,
},
};
struct tegra_touchscreen_init panjit_init_data = {
- .irq_gpio = TOUCH_GPIO_IRQ, /* GPIO1 Value for IRQ */
- .rst_gpio = TOUCH_GPIO_RST, /* GPIO2 Value for RST */
+ .irq_gpio = TOUCH_GPIO_IRQ_PANJIT, /* GPIO1 Value for IRQ */
+ .rst_gpio = TOUCH_GPIO_RST_PANJIT, /* GPIO2 Value for RST */
.sv_gpio1 = {0}, /* Valid, GPIOx, Set value, Delay */
.sv_gpio2 = {0}, /* Valid, GPIOx, Set value, Delay */
.ts_boardinfo = {0, panjit_i2c_info, 1} /* BusNum, BoardInfo, Value */