aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mach-mx27_3ds.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/mach-mx27_3ds.c')
-rw-r--r--arch/arm/mach-imx/mach-mx27_3ds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-mx27_3ds.c b/arch/arm/mach-imx/mach-mx27_3ds.c
index c6d385c52257..18b9bcaa40e3 100644
--- a/arch/arm/mach-imx/mach-mx27_3ds.c
+++ b/arch/arm/mach-imx/mach-mx27_3ds.c
@@ -445,7 +445,7 @@ static struct spi_board_info mx27_3ds_spi_devs[] __initdata = {
445 .bus_num = 1, 445 .bus_num = 1,
446 .chip_select = 0, /* SS0 */ 446 .chip_select = 0, /* SS0 */
447 .platform_data = &mc13783_pdata, 447 .platform_data = &mc13783_pdata,
448 .irq = IMX_GPIO_TO_IRQ(PMIC_INT), 448 /* irq number is run-time assigned */
449 .mode = SPI_CS_HIGH, 449 .mode = SPI_CS_HIGH,
450 }, { 450 }, {
451 .modalias = "l4f00242t03", 451 .modalias = "l4f00242t03",
@@ -496,6 +496,7 @@ static void __init mx27pdk_init(void)
496 496
497 imx27_add_spi_imx1(&spi2_pdata); 497 imx27_add_spi_imx1(&spi2_pdata);
498 imx27_add_spi_imx0(&spi1_pdata); 498 imx27_add_spi_imx0(&spi1_pdata);
499 mx27_3ds_spi_devs[0].irq = gpio_to_irq(PMIC_INT);
499 spi_register_board_info(mx27_3ds_spi_devs, 500 spi_register_board_info(mx27_3ds_spi_devs,
500 ARRAY_SIZE(mx27_3ds_spi_devs)); 501 ARRAY_SIZE(mx27_3ds_spi_devs));
501 502