diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2011-08-13 12:14:01 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-08-16 03:00:36 -0400 |
commit | e309fb1864e2d59ff030d5b95c4fb8188ab0eb4c (patch) | |
tree | 0d15f799f03b14b3dc774fb4d7fa2c1124d99a2c /arch/arm/mach-imx/mach-mx27_3ds.c | |
parent | 93ee7a9340d64f20295aacc3fb6a22b759323280 (diff) |
arm/mxc: do not use gpio_to_irq() for static initializers
The patch defines IMX_GPIO_TO_IRQ() in mach/hardware.h and replaces
all the uses of gpio_to_irq() in static initializers with
IMX_GPIO_TO_IRQ().
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/mach-mx27_3ds.c')
-rw-r--r-- | arch/arm/mach-imx/mach-mx27_3ds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-mx27_3ds.c b/arch/arm/mach-imx/mach-mx27_3ds.c index 6fa6934ab150..097ff42c1fe5 100644 --- a/arch/arm/mach-imx/mach-mx27_3ds.c +++ b/arch/arm/mach-imx/mach-mx27_3ds.c | |||
@@ -359,7 +359,7 @@ static struct spi_board_info mx27_3ds_spi_devs[] __initdata = { | |||
359 | .bus_num = 1, | 359 | .bus_num = 1, |
360 | .chip_select = 0, /* SS0 */ | 360 | .chip_select = 0, /* SS0 */ |
361 | .platform_data = &mc13783_pdata, | 361 | .platform_data = &mc13783_pdata, |
362 | .irq = gpio_to_irq(PMIC_INT), | 362 | .irq = IMX_GPIO_TO_IRQ(PMIC_INT), |
363 | .mode = SPI_CS_HIGH, | 363 | .mode = SPI_CS_HIGH, |
364 | }, { | 364 | }, { |
365 | .modalias = "l4f00242t03", | 365 | .modalias = "l4f00242t03", |