aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/pxa/patches-2.6.21/019-modular-init-usb-gadget.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/pxa/patches-2.6.21/019-modular-init-usb-gadget.patch')
-rw-r--r--target/linux/pxa/patches-2.6.21/019-modular-init-usb-gadget.patch22
1 files changed, 11 insertions, 11 deletions
diff --git a/target/linux/pxa/patches-2.6.21/019-modular-init-usb-gadget.patch b/target/linux/pxa/patches-2.6.21/019-modular-init-usb-gadget.patch
index e3ee0d6a7d..e24e93aa15 100644
--- a/target/linux/pxa/patches-2.6.21/019-modular-init-usb-gadget.patch
+++ b/target/linux/pxa/patches-2.6.21/019-modular-init-usb-gadget.patch
@@ -1,7 +1,7 @@
-Index: linux-2.6.21gum/drivers/usb/gadget/Kconfig
+Index: linux-2.6.21.7/drivers/usb/gadget/Kconfig
===================================================================
---- linux-2.6.21gum.orig/drivers/usb/gadget/Kconfig
-+++ linux-2.6.21gum/drivers/usb/gadget/Kconfig
+--- linux-2.6.21.7.orig/drivers/usb/gadget/Kconfig
++++ linux-2.6.21.7/drivers/usb/gadget/Kconfig
@@ -56,6 +56,14 @@ config USB_GADGET_DEBUG_FILES
config USB_GADGET_SELECTED
boolean
@@ -17,10 +17,10 @@ Index: linux-2.6.21gum/drivers/usb/gadget/Kconfig
#
# USB Peripheral Controller Support
#
-Index: linux-2.6.21gum/drivers/usb/gadget/Makefile
+Index: linux-2.6.21.7/drivers/usb/gadget/Makefile
===================================================================
---- linux-2.6.21gum.orig/drivers/usb/gadget/Makefile
-+++ linux-2.6.21gum/drivers/usb/gadget/Makefile
+--- linux-2.6.21.7.orig/drivers/usb/gadget/Makefile
++++ linux-2.6.21.7/drivers/usb/gadget/Makefile
@@ -8,6 +8,7 @@ obj-$(CONFIG_USB_GOKU) += goku_udc.o
obj-$(CONFIG_USB_OMAP) += omap_udc.o
obj-$(CONFIG_USB_LH7A40X) += lh7a40x_udc.o
@@ -29,10 +29,10 @@ Index: linux-2.6.21gum/drivers/usb/gadget/Makefile
#
# USB gadget drivers
-Index: linux-2.6.21gum/drivers/usb/gadget/pxa2xx_udc.c
+Index: linux-2.6.21.7/drivers/usb/gadget/pxa2xx_udc.c
===================================================================
---- linux-2.6.21gum.orig/drivers/usb/gadget/pxa2xx_udc.c
-+++ linux-2.6.21gum/drivers/usb/gadget/pxa2xx_udc.c
+--- linux-2.6.21.7.orig/drivers/usb/gadget/pxa2xx_udc.c
++++ linux-2.6.21.7/drivers/usb/gadget/pxa2xx_udc.c
@@ -2752,8 +2752,16 @@ static struct platform_driver udc_driver
},
};
@@ -50,10 +50,10 @@ Index: linux-2.6.21gum/drivers/usb/gadget/pxa2xx_udc.c
printk(KERN_INFO "%s: version %s\n", driver_name, DRIVER_VERSION);
return platform_driver_register(&udc_driver);
}
-Index: linux-2.6.21gum/drivers/usb/gadget/gumstix_gadget.c
+Index: linux-2.6.21.7/drivers/usb/gadget/gumstix_gadget.c
===================================================================
--- /dev/null
-+++ linux-2.6.21gum/drivers/usb/gadget/gumstix_gadget.c
++++ linux-2.6.21.7/drivers/usb/gadget/gumstix_gadget.c
@@ -0,0 +1,49 @@
+/*
+ * Gumstix USB gadget intialization driver