From: hjc Date: Thu, 28 Mar 2013 06:35:49 +0000 (+0800) Subject: rk3168_86v: gsensor operation X-Git-Tag: firefly_0821_release~7325 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f209af8576fa0a393e583d336fc57fb43170c3f3;p=firefly-linux-kernel-4.4.55.git rk3168_86v: gsensor operation --- 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},