diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-12-15 17:13:26 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-12-15 17:13:26 -0500 |
commit | 7e1548a597ef7e26d5d62f8be3be6da9e101b26c (patch) | |
tree | fe6cbf4d9a3c1afdba04fb276fef0f932403727c /arch/arm/plat-omap/debug-devices.c | |
parent | 1f7f569c0ae6e619504095eabf796edd712d943d (diff) | |
parent | 2619bc327417f549f1c89d5ef9b4a4aa768f41a2 (diff) |
Merge branch 'omap3-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 into devel
Diffstat (limited to 'arch/arm/plat-omap/debug-devices.c')
-rw-r--r-- | arch/arm/plat-omap/debug-devices.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/plat-omap/debug-devices.c b/arch/arm/plat-omap/debug-devices.c index e31154b15d9e..f6684832ca8f 100644 --- a/arch/arm/plat-omap/debug-devices.c +++ b/arch/arm/plat-omap/debug-devices.c | |||
@@ -69,15 +69,15 @@ 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 = gpio_request(gpio, "SMC91x irq"); |
76 | if (status < 0) { | 76 | if (status < 0) { |
77 | printk(KERN_ERR "GPIO%d unavailable for smc91x IRQ\n", gpio); | 77 | printk(KERN_ERR "GPIO%d unavailable for smc91x IRQ\n", gpio); |
78 | return status; | 78 | return status; |
79 | } | 79 | } |
80 | omap_set_gpio_direction(gpio, 1); | 80 | gpio_direction_input(gpio); |
81 | 81 | ||
82 | led_resources[0].start = addr; | 82 | led_resources[0].start = addr; |
83 | led_resources[0].end = addr + SZ_4K - 1; | 83 | led_resources[0].end = addr + SZ_4K - 1; |