From f209af8576fa0a393e583d336fc57fb43170c3f3 Mon Sep 17 00:00:00 2001 From: hjc Date: Thu, 28 Mar 2013 14:35:49 +0800 Subject: [PATCH] rk3168_86v: gsensor operation --- arch/arm/mach-rk30/board-rk3168-86v.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-rk30/board-rk3168-86v.c b/arch/arm/mach-rk30/board-rk3168-86v.c index e893551389dc..88bd54426e97 100755 --- a/arch/arm/mach-rk30/board-rk3168-86v.c +++ b/arch/arm/mach-rk30/board-rk3168-86v.c @@ -76,7 +76,6 @@ #include "board-rk3168-86v-camera.c" #include -#define RK3168_86V_CODEC static struct rk29_keys_button key_button[] = { @@ -442,7 +441,7 @@ static struct sensor_platform_data mma7660_info = { .irq_enable = 1, .poll_delay_ms = 30, .init_platform_hw = mma7660_init_platform_hw, - #ifdef RK3168_86V_CODEC + #ifdef CONFIG_TOUCHSCREEN_GSLX680_RK3168 .orientation = {-1, 0, 0, 0, -1, 0, 0, 0, 1}, #else .orientation = {0, -1, 0, -1, 0, 0, 0, 0, -1}, -- 2.34.1