From 9631d0817c1f9c9f898ce41132949b24ed706d36 Mon Sep 17 00:00:00 2001 From: hhb Date: Tue, 5 Jul 2011 20:43:42 +0800 Subject: [PATCH] rk29:fix bug arch/arm/mach-rk29/board-rk29-a22.c:493: warning: missing braces around initializer --- arch/arm/mach-rk29/board-rk29-a22.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-rk29/board-rk29-a22.c b/arch/arm/mach-rk29/board-rk29-a22.c index d9ffd811e4e9..6a0a1c060c5a 100755 --- a/arch/arm/mach-rk29/board-rk29-a22.c +++ b/arch/arm/mach-rk29/board-rk29-a22.c @@ -454,8 +454,8 @@ struct p1003_platform_data p1003_info = { #if defined(CONFIG_TOUCHSCREEN_ILI2102_IIC) #include "../../../drivers/input/touchscreen/ili2102_ts.h" -#define GT801_GPIO_INT RK29_PIN4_PD5 -#define GT801_GPIO_RESET RK29_PIN6_PC3 +#define ili2102_GPIO_INT RK29_PIN4_PD5 +#define ili2102_GPIO_RESET RK29_PIN6_PC3 static struct ili2102_platform_data ili2102_info = { .model = 2102, .swap_xy = 0, @@ -463,11 +463,11 @@ static struct ili2102_platform_data ili2102_info = { .x_max = 481, .y_min = 0, .y_max = 801, - .gpio_reset = GT801_GPIO_RESET, + .gpio_reset = ili2102_GPIO_RESET, .gpio_reset_active_low = 1, - .gpio_pendown = GT801_GPIO_INT, + .gpio_pendown = ili2102_GPIO_INT, .pendown_iomux_name = GPIO4D5_CPUTRACECTL_NAME, - .resetpin_iomux_name = NULL, + .resetpin_iomux_name = "", .pendown_iomux_mode = GPIO4H_GPIO4D5, .resetpin_iomux_mode = 0, }; -- 2.34.1