diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-12-10 20:35:26 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-12-10 20:35:26 -0500 |
commit | 15f74b0335962e8554c91e52d588dc9f8ee7098d (patch) | |
tree | b5cf73b94f6c993822f4b40762c5ccb7540ed7cb /arch/arm/plat-omap/debug-devices.c | |
parent | e918edf7c2f2270dcf18cdcbdf86174a013a124e (diff) |
ARM: OMAP: use gpio_to_irq
Have most uses of OMAP_GPIO_IRQ() use gpio_to_irq() instead.
Calls used for table initialization are left alone, at least
this time around.
(This patch is for code in both the OMAP tree and mainline.)
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/debug-devices.c')
-rw-r--r-- | arch/arm/plat-omap/debug-devices.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/debug-devices.c b/arch/arm/plat-omap/debug-devices.c index 60076a800849..7d9c87c6574f 100644 --- a/arch/arm/plat-omap/debug-devices.c +++ b/arch/arm/plat-omap/debug-devices.c | |||
@@ -69,8 +69,8 @@ int __init debug_card_init(u32 addr, unsigned gpio) | |||
69 | smc91x_resources[0].start = addr + 0x300; | 69 | smc91x_resources[0].start = addr + 0x300; |
70 | smc91x_resources[0].end = addr + 0x30f; | 70 | smc91x_resources[0].end = addr + 0x30f; |
71 | 71 | ||
72 | smc91x_resources[1].start = OMAP_GPIO_IRQ(gpio); | 72 | smc91x_resources[1].start = gpio_to_irq(gpio); |
73 | smc91x_resources[1].end = OMAP_GPIO_IRQ(gpio); | 73 | smc91x_resources[1].end = gpio_to_irq(gpio); |
74 | 74 | ||
75 | status = omap_request_gpio(gpio); | 75 | status = omap_request_gpio(gpio); |
76 | if (status < 0) { | 76 | if (status < 0) { |