X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/9c6027e5b71baf61dc929510c889a1d5ba36c39b..17df14bf19ddd40dbc8d4a598ec17d58cf220e46:/target/linux/omap24xx/patches-3.1/850-musb-tusb-modular-fixes.patch?ds=sidebyside diff --git a/target/linux/omap24xx/patches-3.1/850-musb-tusb-modular-fixes.patch b/target/linux/omap24xx/patches-3.1/850-musb-tusb-modular-fixes.patch index 2977c5b52..afdea788e 100644 --- a/target/linux/omap24xx/patches-3.1/850-musb-tusb-modular-fixes.patch +++ b/target/linux/omap24xx/patches-3.1/850-musb-tusb-modular-fixes.patch @@ -1,7 +1,5 @@ -Index: linux-3.1/drivers/usb/musb/tusb6010.c -=================================================================== ---- linux-3.1.orig/drivers/usb/musb/tusb6010.c 2011-10-30 00:48:24.637060127 +0200 -+++ linux-3.1/drivers/usb/musb/tusb6010.c 2011-10-30 00:48:58.045037045 +0200 +--- a/drivers/usb/musb/tusb6010.c ++++ b/drivers/usb/musb/tusb6010.c @@ -56,6 +56,7 @@ u8 tusb_get_revision(struct musb *musb) return rev; @@ -52,10 +50,8 @@ Index: linux-3.1/drivers/usb/musb/tusb6010.c } -module_exit(tusb_exit); +EXPORT_SYMBOL(musb_hdrc_glue_exit); -Index: linux-3.1/drivers/usb/musb/musb_core.c -=================================================================== ---- linux-3.1.orig/drivers/usb/musb/musb_core.c 2011-10-30 00:48:24.629060132 +0200 -+++ linux-3.1/drivers/usb/musb/musb_core.c 2011-10-30 00:48:58.045037045 +0200 +--- a/drivers/usb/musb/musb_core.c ++++ b/drivers/usb/musb/musb_core.c @@ -207,7 +207,7 @@ static struct otg_io_access_ops musb_ulp /*-------------------------------------------------------------------------*/ @@ -83,7 +79,7 @@ Index: linux-3.1/drivers/usb/musb/musb_core.c 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 = -@@ -2376,8 +2376,13 @@ static struct platform_driver musb_drive +@@ -2368,8 +2368,13 @@ static struct platform_driver musb_drive /*-------------------------------------------------------------------------*/ @@ -97,7 +93,7 @@ Index: linux-3.1/drivers/usb/musb/musb_core.c if (usb_disabled()) return 0; -@@ -2386,7 +2391,17 @@ static int __init musb_init(void) +@@ -2378,7 +2383,17 @@ static int __init musb_init(void) ", " "otg (peripheral+host)", musb_driver_name); @@ -116,17 +112,15 @@ Index: linux-3.1/drivers/usb/musb/musb_core.c } /* make us init after usbcore and i2c (transceivers, regulators, etc) -@@ -2397,5 +2412,6 @@ fs_initcall(musb_init); +@@ -2389,5 +2404,6 @@ fs_initcall(musb_init); static void __exit musb_cleanup(void) { platform_driver_unregister(&musb_driver); + musb_hdrc_glue_exit(); } module_exit(musb_cleanup); -Index: linux-3.1/drivers/usb/Makefile -=================================================================== ---- linux-3.1.orig/drivers/usb/Makefile 2011-10-30 00:48:24.625060136 +0200 -+++ linux-3.1/drivers/usb/Makefile 2011-10-30 00:48:58.045037045 +0200 +--- a/drivers/usb/Makefile ++++ b/drivers/usb/Makefile @@ -47,7 +47,7 @@ obj-$(CONFIG_EARLY_PRINTK_DBGP) += early obj-$(CONFIG_USB_ATM) += atm/ obj-$(CONFIG_USB_SPEEDTOUCH) += atm/ @@ -136,10 +130,8 @@ Index: linux-3.1/drivers/usb/Makefile obj-$(CONFIG_USB_RENESAS_USBHS) += renesas_usbhs/ obj-$(CONFIG_USB_OTG_UTILS) += otg/ obj-$(CONFIG_USB_GADGET) += gadget/ -Index: linux-3.1/drivers/usb/musb/Makefile -=================================================================== ---- linux-3.1.orig/drivers/usb/musb/Makefile 2011-10-30 00:48:24.645060124 +0200 -+++ linux-3.1/drivers/usb/musb/Makefile 2011-10-30 00:48:58.045037045 +0200 +--- a/drivers/usb/musb/Makefile ++++ b/drivers/usb/musb/Makefile @@ -13,7 +13,7 @@ musb_hdrc-$(CONFIG_DEBUG_FS) += musb_d # Hardware Glue Layer obj-$(CONFIG_USB_MUSB_OMAP2PLUS) += omap2430.o