usb: musb: omap: always create musb device
authorFelipe Balbi <balbi@ti.com>
Mon, 27 Jun 2011 12:56:32 +0000 (15:56 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Jul 2011 21:31:14 +0000 (14:31 -0700)
there's no point in not creating that device
always. It's simpler to always create, than to
keep changing that stupid ifdef.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/mach-omap2/usb-musb.c

index c7ed540d868d218a56a1b4c07db3b417a2f91845..a65145b02a5583cc7b3564727034e4c7c9fb2809 100644 (file)
@@ -33,8 +33,6 @@
 #include <plat/omap_device.h>
 #include "mux.h"
 
-#if defined(CONFIG_USB_MUSB_OMAP2PLUS) || defined (CONFIG_USB_MUSB_AM35X)
-
 static struct musb_hdrc_config musb_config = {
        .multipoint     = 1,
        .dyn_fifo       = 1,
@@ -175,11 +173,3 @@ void __init usb_musb_init(struct omap_musb_board_data *musb_board_data)
        if (cpu_is_omap44xx())
                omap4430_phy_init(dev);
 }
-
-#else
-void __init usb_musb_init(struct omap_musb_board_data *board_data)
-{
-       if (cpu_is_omap44xx())
-               omap4430_phy_init(NULL);
-}
-#endif /* CONFIG_USB_MUSB_SOC */