rk3066 : fix board-rk30-ds975.c board-rk30-sdk.c for sensor

This commit is contained in:
wbx
2013-03-13 11:08:31 +08:00
parent bde42ac964
commit 8375ed6afe
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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)