diff options
author | Haojian Zhuang <haojian.zhuang@marvell.com> | 2011-10-10 04:03:51 -0400 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@marvell.com> | 2011-11-14 08:07:59 -0500 |
commit | 4929f5a8a99f64378659c5658621e45c90c2aaa9 (patch) | |
tree | 37887d8dafda515434896c467d304c04e276889f /arch/arm/mach-pxa/zylonite.c | |
parent | 87c49e20579c933d531a376596875b8fd5dcb04f (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/zylonite.c')
-rw-r--r-- | arch/arm/mach-pxa/zylonite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/zylonite.c b/arch/arm/mach-pxa/zylonite.c index 31d496891891..2406fd2727ef 100644 --- a/arch/arm/mach-pxa/zylonite.c +++ b/arch/arm/mach-pxa/zylonite.c | |||
@@ -407,8 +407,8 @@ static void __init zylonite_init(void) | |||
407 | * Note: We depend that the bootloader set | 407 | * Note: We depend that the bootloader set |
408 | * the correct value to MSC register for SMC91x. | 408 | * the correct value to MSC register for SMC91x. |
409 | */ | 409 | */ |
410 | smc91x_resources[1].start = gpio_to_irq(gpio_eth_irq); | 410 | smc91x_resources[1].start = PXA_GPIO_TO_IRQ(gpio_eth_irq); |
411 | smc91x_resources[1].end = gpio_to_irq(gpio_eth_irq); | 411 | smc91x_resources[1].end = PXA_GPIO_TO_IRQ(gpio_eth_irq); |
412 | platform_device_register(&smc91x_device); | 412 | platform_device_register(&smc91x_device); |
413 | 413 | ||
414 | pxa_set_ac97_info(NULL); | 414 | pxa_set_ac97_info(NULL); |