- # Hardware Glue Layer
--obj-$(CONFIG_USB_MUSB_OMAP2PLUS) += omap2430.o
--obj-$(CONFIG_USB_MUSB_AM35X) += am35x.o
--obj-$(CONFIG_USB_MUSB_TUSB6010) += tusb6010.o
--obj-$(CONFIG_USB_MUSB_DAVINCI) += davinci.o
--obj-$(CONFIG_USB_MUSB_DA8XX) += da8xx.o
--obj-$(CONFIG_USB_MUSB_BLACKFIN) += blackfin.o
--obj-$(CONFIG_USB_MUSB_UX500) += ux500.o
-+musb_hdrc-$(CONFIG_USB_MUSB_OMAP2PLUS) += omap2430.o
-+musb_hdrc-$(CONFIG_USB_MUSB_AM35X) += am35x.o
-+musb_hdrc-$(CONFIG_USB_MUSB_TUSB6010) += tusb6010.o
-+musb_hdrc-$(CONFIG_USB_MUSB_DAVINCI) += davinci.o
-+musb_hdrc-$(CONFIG_USB_MUSB_DA8XX) += da8xx.o
-+musb_hdrc-$(CONFIG_USB_MUSB_BLACKFIN) += blackfin.o
-+musb_hdrc-$(CONFIG_USB_MUSB_UX500) += ux500.o
-
- # the kconfig must guarantee that only one of the
- # possible I/O schemes will be enabled at a time ...
-Index: linux-3.1-rc4/drivers/usb/musb/musb_core.c
-===================================================================
---- linux-3.1-rc4.orig/drivers/usb/musb/musb_core.c 2011-08-29 06:16:01.000000000 +0200
-+++ linux-3.1-rc4/drivers/usb/musb/musb_core.c 2011-10-27 17:09:45.216071368 +0200
+ /*-------------------------------------------------------------------------*/
+
+-#if !defined(CONFIG_USB_MUSB_TUSB6010) && !defined(CONFIG_USB_MUSB_BLACKFIN)
++#if !defined(CONFIG_USB_MUSB_TUSB6010) && !defined(CONFIG_USB_MUSB_TUSB6010_MODULE) && !defined(CONFIG_USB_MUSB_BLACKFIN)
+
+ /*
+ * Load an endpoint's FIFO
+@@ -250,7 +250,7 @@ void musb_write_fifo(struct musb_hw_ep *
+ }
+ }
+
+-#if !defined(CONFIG_USB_MUSB_AM35X)
++#if !defined(CONFIG_USB_MUSB_AM35X) && !defined(CONFIG_USB_MUSB_TUSB6010) && !defined(CONFIG_USB_MUSB_TUSB6010_MODULE)
+ /*
+ * Unload an endpoint's FIFO
+ */
+@@ -1432,7 +1432,7 @@ static int __init musb_core_init(u16 mus
+ struct musb_hw_ep *hw_ep = musb->endpoints + i;
+
+ hw_ep->fifo = MUSB_FIFO_OFFSET(i) + mbase;
+-#ifdef CONFIG_USB_MUSB_TUSB6010
++#if defined(CONFIG_USB_MUSB_TUSB6010) || defined(CONFIG_USB_MUSB_TUSB6010_MODULE)
+ hw_ep->fifo_async = musb->async + 0x400 + MUSB_FIFO_OFFSET(i);
+ hw_ep->fifo_sync = musb->sync + 0x400 + MUSB_FIFO_OFFSET(i);
+ hw_ep->fifo_sync_va =