diff options
author | Jarkko Nikula <jarkko.nikula@nokia.com> | 2008-12-10 20:35:30 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-12-10 20:35:30 -0500 |
commit | f2d18fea8b87d09bdda22cc67c36f5f463452a33 (patch) | |
tree | a8641626136a6f14d2873e13f263fa0de6ab04f8 /arch/arm/mach-omap1/board-voiceblue.c | |
parent | e031ab23deb5a5d9ac5744e69a0627823e81b074 (diff) |
ARM: OMAP: Switch to gpio_request/free calls
Switch to gpio_request/free calls
Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/board-voiceblue.c')
-rw-r--r-- | arch/arm/mach-omap1/board-voiceblue.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/mach-omap1/board-voiceblue.c b/arch/arm/mach-omap1/board-voiceblue.c index bb4f4a8aea32..92c9de1090a9 100644 --- a/arch/arm/mach-omap1/board-voiceblue.c +++ b/arch/arm/mach-omap1/board-voiceblue.c | |||
@@ -168,23 +168,23 @@ static void __init voiceblue_init_irq(void) | |||
168 | static void __init voiceblue_init(void) | 168 | static void __init voiceblue_init(void) |
169 | { | 169 | { |
170 | /* Watchdog */ | 170 | /* Watchdog */ |
171 | omap_request_gpio(0); | 171 | gpio_request(0, "Watchdog"); |
172 | /* smc91x reset */ | 172 | /* smc91x reset */ |
173 | omap_request_gpio(7); | 173 | gpio_request(7, "SMC91x reset"); |
174 | gpio_direction_output(7, 1); | 174 | gpio_direction_output(7, 1); |
175 | udelay(2); /* wait at least 100ns */ | 175 | udelay(2); /* wait at least 100ns */ |
176 | gpio_set_value(7, 0); | 176 | gpio_set_value(7, 0); |
177 | mdelay(50); /* 50ms until PHY ready */ | 177 | mdelay(50); /* 50ms until PHY ready */ |
178 | /* smc91x interrupt pin */ | 178 | /* smc91x interrupt pin */ |
179 | omap_request_gpio(8); | 179 | gpio_request(8, "SMC91x irq"); |
180 | /* 16C554 reset*/ | 180 | /* 16C554 reset*/ |
181 | omap_request_gpio(6); | 181 | gpio_request(6, "16C554 reset"); |
182 | gpio_direction_output(6, 0); | 182 | gpio_direction_output(6, 0); |
183 | /* 16C554 interrupt pins */ | 183 | /* 16C554 interrupt pins */ |
184 | omap_request_gpio(12); | 184 | gpio_request(12, "16C554 irq"); |
185 | omap_request_gpio(13); | 185 | gpio_request(13, "16C554 irq"); |
186 | omap_request_gpio(14); | 186 | gpio_request(14, "16C554 irq"); |
187 | omap_request_gpio(15); | 187 | gpio_request(15, "16C554 irq"); |
188 | set_irq_type(gpio_to_irq(12), IRQ_TYPE_EDGE_RISING); | 188 | set_irq_type(gpio_to_irq(12), IRQ_TYPE_EDGE_RISING); |
189 | set_irq_type(gpio_to_irq(13), IRQ_TYPE_EDGE_RISING); | 189 | set_irq_type(gpio_to_irq(13), IRQ_TYPE_EDGE_RISING); |
190 | set_irq_type(gpio_to_irq(14), IRQ_TYPE_EDGE_RISING); | 190 | set_irq_type(gpio_to_irq(14), IRQ_TYPE_EDGE_RISING); |