From 8cec0123bb762eb90753f61a0e5a0c2ff91aec25 Mon Sep 17 00:00:00 2001 From: Tetsuyuki Kobayashi Date: Fri, 14 Sep 2012 18:14:28 +0900 Subject: ARM: shmobile: kzm9g: enable magnetometer ak8975. This patch enables magnetometer ak8975. I checked ak8975_probe() returns successfully. Signed-off-by: Tetsuyuki Kobayashi Signed-off-by: Simon Horman --- arch/arm/mach-shmobile/board-kzm9g.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'arch/arm/mach-shmobile/board-kzm9g.c') 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[] = { }, { I2C_BOARD_INFO("r2025sd", 0x32), - } + }, + { + I2C_BOARD_INFO("ak8975", 0x0c), + .irq = intcs_evt2irq(0x3380), /* IRQ28 */ + }, }; static struct i2c_board_info i2c1_devices[] = { -- cgit v1.2.3