aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
authorTetsuyuki Kobayashi <koba@kmckk.co.jp>2012-09-14 05:14:28 -0400
committerSimon Horman <horms@verge.net.au>2012-10-30 03:21:07 -0400
commit8cec0123bb762eb90753f61a0e5a0c2ff91aec25 (patch)
treeb1c334cebb4db4814b2ee2f5c560708e9e2a94b6 /arch/arm/mach-shmobile
parentddffeb8c4d0331609ef2581d84de4d763607bd37 (diff)
ARM: shmobile: kzm9g: enable magnetometer ak8975.
This patch enables magnetometer ak8975. I checked ak8975_probe() returns successfully. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r--arch/arm/mach-shmobile/board-kzm9g.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/board-kzm9g.c b/arch/arm/mach-shmobile/board-kzm9g.c
index 0a43f3189c21..a37da78687f2 100644
--- a/arch/arm/mach-shmobile/board-kzm9g.c
+++ b/arch/arm/mach-shmobile/board-kzm9g.c
@@ -557,7 +557,11 @@ static struct i2c_board_info i2c0_devices[] = {
557 }, 557 },
558 { 558 {
559 I2C_BOARD_INFO("r2025sd", 0x32), 559 I2C_BOARD_INFO("r2025sd", 0x32),
560 } 560 },
561 {
562 I2C_BOARD_INFO("ak8975", 0x0c),
563 .irq = intcs_evt2irq(0x3380), /* IRQ28 */
564 },
561}; 565};
562 566
563static struct i2c_board_info i2c1_devices[] = { 567static struct i2c_board_info i2c1_devices[] = {