ARM: pxa: rename gpio_to_irq and irq_to_gpio
[deliverable/linux.git] / arch / arm / mach-pxa / cm-x270.c
index 13518a7053994dbfe6c4ce422ee994a88d3e21f4..431ef56700c419f4fa04cc73cd999644d4ba1a6e 100644 (file)
@@ -33,7 +33,7 @@
 /* GPIO IRQ usage */
 #define GPIO83_MMC_IRQ         (83)
 
-#define CMX270_MMC_IRQ         IRQ_GPIO(GPIO83_MMC_IRQ)
+#define CMX270_MMC_IRQ         PXA_GPIO_TO_IRQ(GPIO83_MMC_IRQ)
 
 /* MMC power enable */
 #define GPIO105_MMC_POWER      (105)
@@ -380,7 +380,7 @@ static struct spi_board_info cm_x270_spi_devices[] __initdata = {
                .modalias               = "libertas_spi",
                .max_speed_hz           = 13000000,
                .bus_num                = 2,
-               .irq                    = gpio_to_irq(95),
+               .irq                    = PXA_GPIO_TO_IRQ(95),
                .chip_select            = 0,
                .controller_data        = &cm_x270_libertas_chip,
                .platform_data          = &cm_x270_libertas_pdata,
This page took 0.029417 seconds and 5 git commands to generate.