From 8375ed6afe04d112cc8778284a4ca41a65e64bdb Mon Sep 17 00:00:00 2001 From: wbx Date: Wed, 13 Mar 2013 11:08:31 +0800 Subject: [PATCH] rk3066 : fix board-rk30-ds975.c board-rk30-sdk.c for sensor --- arch/arm/mach-rk30/board-rk30-ds975.c | 4 ++-- arch/arm/mach-rk30/board-rk30-sdk.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-rk30/board-rk30-ds975.c b/arch/arm/mach-rk30/board-rk30-ds975.c index f80c96eb912a..5b821b2609ec 100755 --- a/arch/arm/mach-rk30/board-rk30-ds975.c +++ b/arch/arm/mach-rk30/board-rk30-ds975.c @@ -1038,7 +1038,7 @@ static struct sensor_platform_data mma8452_info = { .irq_enable = 1, .poll_delay_ms = 30, .init_platform_hw = mma8452_init_platform_hw, - .orientation = {0, -1, 0, 0, 0, -1, -1, 0, 0}, + .orientation = {0, -1, 0, -1, 0, 0, 0, 0, -1}, }; #endif #if defined (CONFIG_GS_LIS3DH) @@ -1056,7 +1056,7 @@ static struct sensor_platform_data lis3dh_info = { .irq_enable = 1, .poll_delay_ms = 30, .init_platform_hw = lis3dh_init_platform_hw, - .orientation = {0, -1, 0, 0, 0, -1, -1, 0, 0}, + .orientation = {0, -1, 0, -1, 0, 0, 0, 0, -1}, }; #endif diff --git a/arch/arm/mach-rk30/board-rk30-sdk.c b/arch/arm/mach-rk30/board-rk30-sdk.c index 7e8fe1ddef99..1dfc2560cde7 100755 --- a/arch/arm/mach-rk30/board-rk30-sdk.c +++ b/arch/arm/mach-rk30/board-rk30-sdk.c @@ -488,7 +488,7 @@ static struct sensor_platform_data mma8452_info = { .irq_enable = 1, .poll_delay_ms = 30, .init_platform_hw = mma8452_init_platform_hw, - .orientation = {-1, 0, 0, 0, 0, 1, 0, -1, 0}, + .orientation = {-1, 0, 0, 0,-1, 0, 0, 0, 1}, }; #endif #if defined (CONFIG_GS_LIS3DH) @@ -506,7 +506,7 @@ static struct sensor_platform_data lis3dh_info = { .irq_enable = 1, .poll_delay_ms = 30, .init_platform_hw = lis3dh_init_platform_hw, - .orientation = {-1, 0, 0, 0, 0, 1, 0, -1, 0}, + .orientation = {-1, 0, 0, 0, -1, 0, 0, 0, 1}, }; #endif #if defined (CONFIG_GS_KXTIK) -- 2.34.1