diff options
Diffstat (limited to 'arch/arm/plat-omap/usb.c')
-rw-r--r-- | arch/arm/plat-omap/usb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/usb.c b/arch/arm/plat-omap/usb.c index 509f2ed99e2..980d2eb68a2 100644 --- a/arch/arm/plat-omap/usb.c +++ b/arch/arm/plat-omap/usb.c | |||
@@ -614,7 +614,7 @@ omap_otg_init(struct omap_usb_config *config) | |||
614 | if (config->otg || config->register_host) { | 614 | if (config->otg || config->register_host) { |
615 | syscon &= ~HST_IDLE_EN; | 615 | syscon &= ~HST_IDLE_EN; |
616 | ohci_device.dev.platform_data = config; | 616 | ohci_device.dev.platform_data = config; |
617 | if (cpu_is_omap730()) | 617 | if (cpu_is_omap7xx()) |
618 | ohci_resources[1].start = INT_730_USB_HHC_1; | 618 | ohci_resources[1].start = INT_730_USB_HHC_1; |
619 | status = platform_device_register(&ohci_device); | 619 | status = platform_device_register(&ohci_device); |
620 | if (status) | 620 | if (status) |
@@ -626,7 +626,7 @@ omap_otg_init(struct omap_usb_config *config) | |||
626 | if (config->otg) { | 626 | if (config->otg) { |
627 | syscon &= ~OTG_IDLE_EN; | 627 | syscon &= ~OTG_IDLE_EN; |
628 | otg_device.dev.platform_data = config; | 628 | otg_device.dev.platform_data = config; |
629 | if (cpu_is_omap730()) | 629 | if (cpu_is_omap7xx()) |
630 | otg_resources[1].start = INT_730_USB_OTG; | 630 | otg_resources[1].start = INT_730_USB_OTG; |
631 | status = platform_device_register(&otg_device); | 631 | status = platform_device_register(&otg_device); |
632 | if (status) | 632 | if (status) |
@@ -731,7 +731,7 @@ static inline void omap_1510_usb_init(struct omap_usb_config *config) {} | |||
731 | 731 | ||
732 | void __init omap_usb_init(struct omap_usb_config *pdata) | 732 | void __init omap_usb_init(struct omap_usb_config *pdata) |
733 | { | 733 | { |
734 | if (cpu_is_omap730() || cpu_is_omap16xx() || cpu_is_omap24xx()) | 734 | if (cpu_is_omap7xx() || cpu_is_omap16xx() || cpu_is_omap24xx()) |
735 | omap_otg_init(pdata); | 735 | omap_otg_init(pdata); |
736 | else if (cpu_is_omap15xx()) | 736 | else if (cpu_is_omap15xx()) |
737 | omap_1510_usb_init(pdata); | 737 | omap_1510_usb_init(pdata); |