mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
@@ -509,12 +509,12 @@ static struct sensor_platform_data mma7660_info = {
|
||||
.init_platform_hw = mma7660_init_platform_hw,
|
||||
#if defined(V86_VERSION_1_0) || defined(V86_VERSION_1_1)
|
||||
#if defined(V86_VERSION_1_0)
|
||||
.orientation = {1, 0, 0, 0, 0, -1, 0, -1, 0},
|
||||
.orientation = {1, 0, 0, 0, -1, 0, 0, 0, -1},
|
||||
#else if defined(V86_VERSION_1_1)
|
||||
.orientation = {0, 1, 0, 0, 0, -1, 1, 0, 0},
|
||||
.orientation = {0, 1, 0, 1, 0, 0, 0, 0, -1},
|
||||
#endif
|
||||
#else
|
||||
.orientation = {-1, 0, 0, 0, 0, -1, 0, 1, 0},
|
||||
.orientation = {-1, 0, 0, 0, 1, 0, 0, 0, -1},
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -406,7 +406,7 @@ static struct sensor_platform_data mma7660_info = {
|
||||
.irq_enable = 1,
|
||||
.poll_delay_ms = 30,
|
||||
.init_platform_hw = mma7660_init_platform_hw,
|
||||
.orientation = {-1, 0, 0, 0, 0, -1, 0, 1, 0},
|
||||
.orientation = {-1, 0, 0, 0, 1, 0, 0, 0, -1},
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -423,7 +423,7 @@ static struct sensor_platform_data mma7660_info = {
|
||||
.irq_enable = 1,
|
||||
.poll_delay_ms = 30,
|
||||
.init_platform_hw = mma7660_init_platform_hw,
|
||||
.orientation = {-1, 0, 0, 0, 0, 1, 0, -1, 0},
|
||||
.orientation = {-1, 0, 0, 0, -1, 0, 0, 0, 1},
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -441,7 +441,7 @@ static struct sensor_platform_data mxc6225_info = {
|
||||
.irq_enable = 0,
|
||||
.poll_delay_ms = 30,
|
||||
.init_platform_hw = mxc6225_init_platform_hw,
|
||||
.orientation = { 0, 0, 0, 0, 1, 0, 1, 0, 0 },
|
||||
.orientation = { 0, 0, 0, 1, 0, 0, 0, 1, 0 },
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -239,7 +239,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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user