diff options
Diffstat (limited to 'arch/arm/mach-omap2/usb-tusb6010.c')
-rw-r--r-- | arch/arm/mach-omap2/usb-tusb6010.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/usb-tusb6010.c b/arch/arm/mach-omap2/usb-tusb6010.c index 10ef464d6be7..15e509013def 100644 --- a/arch/arm/mach-omap2/usb-tusb6010.c +++ b/arch/arm/mach-omap2/usb-tusb6010.c | |||
@@ -12,11 +12,11 @@ | |||
12 | #include <linux/errno.h> | 12 | #include <linux/errno.h> |
13 | #include <linux/delay.h> | 13 | #include <linux/delay.h> |
14 | #include <linux/platform_device.h> | 14 | #include <linux/platform_device.h> |
15 | #include <linux/gpio.h> | ||
15 | 16 | ||
16 | #include <linux/usb/musb.h> | 17 | #include <linux/usb/musb.h> |
17 | 18 | ||
18 | #include <mach/gpmc.h> | 19 | #include <mach/gpmc.h> |
19 | #include <mach/gpio.h> | ||
20 | #include <mach/mux.h> | 20 | #include <mach/mux.h> |
21 | 21 | ||
22 | 22 | ||
@@ -292,12 +292,12 @@ tusb6010_setup_interface(struct musb_hdrc_platform_data *data, | |||
292 | ); | 292 | ); |
293 | 293 | ||
294 | /* IRQ */ | 294 | /* IRQ */ |
295 | status = omap_request_gpio(irq); | 295 | status = gpio_request(irq, "TUSB6010 irq"); |
296 | if (status < 0) { | 296 | if (status < 0) { |
297 | printk(error, 3, status); | 297 | printk(error, 3, status); |
298 | return status; | 298 | return status; |
299 | } | 299 | } |
300 | omap_set_gpio_direction(irq, 1); | 300 | gpio_direction_input(irq); |
301 | tusb_resources[2].start = irq + IH_GPIO_BASE; | 301 | tusb_resources[2].start = irq + IH_GPIO_BASE; |
302 | 302 | ||
303 | /* set up memory timings ... can speed them up later */ | 303 | /* set up memory timings ... can speed them up later */ |