summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@linaro.org>2012-03-06 13:17:02 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:06:12 +0200
commit56bde254da35de0eea481035bfcd50dbec3ea22f (patch)
tree755cf4c7b708ab9e58bbb87853164c06ede5a67f
parenta51c334ac1571b89e79d9dd147b34a138de07293 (diff)
sensor: board: Add U8520 & U9540 machine supportst-mems-sensors
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
-rw-r--r--arch/arm/mach-ux500/board-mop500-sensors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-sensors.c b/arch/arm/mach-ux500/board-mop500-sensors.c
index e62112de204..8569cf9248a 100644
--- a/arch/arm/mach-ux500/board-mop500-sensors.c
+++ b/arch/arm/mach-ux500/board-mop500-sensors.c
@@ -185,7 +185,7 @@ static int __init mop500_sensors_init(void)
!uib_is_u8500uib() && !uib_is_u8500uibr3())
return 0;
- if (machine_is_hrefv60()) {
+ if (machine_is_hrefv60() || machine_is_u8520() || machine_is_u9540()) {
lsm303dlh_pdata.irq_a1 = HREFV60_ACCEL_INT1_GPIO;
lsm303dlh_pdata.irq_a2 = HREFV60_ACCEL_INT2_GPIO;
lsm303dlh_pdata.irq_m = HREFV60_MAGNET_DRDY_GPIO;