diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx6/board-mx6q_sabreauto.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_sabreauto.c b/arch/arm/mach-mx6/board-mx6q_sabreauto.c index a409a3d42dcc..073e5d057b93 100644 --- a/arch/arm/mach-mx6/board-mx6q_sabreauto.c +++ b/arch/arm/mach-mx6/board-mx6q_sabreauto.c @@ -132,6 +132,7 @@ #define SABREAUTO_USB_OTG_PWR SABREAUTO_IO_EXP_GPIO3(1) #define BMCR_PDOWN 0x0800 /* PHY Powerdown */ +static int mma8451_position = 3; static struct clk *sata_clk; static int mipi_sensor; static int uart2_en; @@ -636,6 +637,10 @@ static struct i2c_board_info mxc_i2c2_board_info[] __initdata = { .irq = gpio_to_irq(SABREAUTO_ALS_INT), .platform_data = &ls_data, }, + { + I2C_BOARD_INFO("mma8451", 0x1c), + .platform_data = (void *)&mma8451_position, + }, }; static struct i2c_board_info mxc_i2c1_board_info[] __initdata = { |