aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/raumfeld.c
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@marvell.com>2011-10-10 04:03:51 -0400
committerHaojian Zhuang <haojian.zhuang@marvell.com>2011-11-14 08:07:59 -0500
commit4929f5a8a99f64378659c5658621e45c90c2aaa9 (patch)
tree37887d8dafda515434896c467d304c04e276889f /arch/arm/mach-pxa/raumfeld.c
parent87c49e20579c933d531a376596875b8fd5dcb04f (diff)
ARM: pxa: rename gpio_to_irq and irq_to_gpio
Avoid to define gpio_to_irq() and irq_to_gpio() for potential name confliction since multiple architecture will be built together. Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/raumfeld.c')
-rw-r--r--arch/arm/mach-pxa/raumfeld.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-pxa/raumfeld.c b/arch/arm/mach-pxa/raumfeld.c
index 6810cddec927..9c58e87f2b82 100644
--- a/arch/arm/mach-pxa/raumfeld.c
+++ b/arch/arm/mach-pxa/raumfeld.c
@@ -292,8 +292,8 @@ static struct resource smc91x_resources[] = {
292 .flags = IORESOURCE_MEM, 292 .flags = IORESOURCE_MEM,
293 }, 293 },
294 { 294 {
295 .start = gpio_to_irq(GPIO_ETH_IRQ), 295 .start = PXA_GPIO_TO_IRQ(GPIO_ETH_IRQ),
296 .end = gpio_to_irq(GPIO_ETH_IRQ), 296 .end = PXA_GPIO_TO_IRQ(GPIO_ETH_IRQ),
297 .flags = IORESOURCE_IRQ | IRQF_TRIGGER_FALLING, 297 .flags = IORESOURCE_IRQ | IRQF_TRIGGER_FALLING,
298 } 298 }
299}; 299};
@@ -671,7 +671,7 @@ static struct lis3lv02d_platform_data lis3_pdata = {
671 .chip_select = 1, \ 671 .chip_select = 1, \
672 .controller_data = (void *) GPIO_ACCEL_CS, \ 672 .controller_data = (void *) GPIO_ACCEL_CS, \
673 .platform_data = &lis3_pdata, \ 673 .platform_data = &lis3_pdata, \
674 .irq = gpio_to_irq(GPIO_ACCEL_IRQ), \ 674 .irq = PXA_GPIO_TO_IRQ(GPIO_ACCEL_IRQ), \
675} 675}
676 676
677#define SPI_DAC7512 \ 677#define SPI_DAC7512 \
@@ -955,7 +955,7 @@ static struct eeti_ts_platform_data eeti_ts_pdata = {
955static struct i2c_board_info raumfeld_controller_i2c_board_info __initdata = { 955static struct i2c_board_info raumfeld_controller_i2c_board_info __initdata = {
956 .type = "eeti_ts", 956 .type = "eeti_ts",
957 .addr = 0x0a, 957 .addr = 0x0a,
958 .irq = gpio_to_irq(GPIO_TOUCH_IRQ), 958 .irq = PXA_GPIO_TO_IRQ(GPIO_TOUCH_IRQ),
959 .platform_data = &eeti_ts_pdata, 959 .platform_data = &eeti_ts_pdata,
960}; 960};
961 961