[patch 2/8] Kconfig Modifications for USB Composite Devices Support

Felipe Balbi <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
patch-composite-device-kconfig.diff (text/plain, 1.8 KB)
Signed-off-by: Felipe Balbi <[email protected]>
Signed-off-by: Ragner Magalhaes <[email protected]>
---

Index: linux-2.6/drivers/usb/gadget/Kconfig
===================================================================
--- linux-2.6.orig/drivers/usb/gadget/Kconfig
+++ linux-2.6/drivers/usb/gadget/Kconfig
@@ -274,2 +274,11 @@ choice
 
+config USB_COMPOSITE
+	tristate "Composite Gadget Support"
+	depends on USB_GADGET
+	help
+	   A composite gadget is a device with more than one
+	   interface.
+
+	   This module adds support for this kind of device.
+
 config USB_ZERO
Index: linux-2.6/drivers/usb/gadget/Makefile
===================================================================
--- linux-2.6.orig/drivers/usb/gadget/Makefile
+++ linux-2.6/drivers/usb/gadget/Makefile
@@ -21,2 +21,4 @@ g_file_storage-objs		:= file_storage.o u
 					epautoconf.o
+g_composite-objs		:= composite_functions.o composite.o \
+					usbstring.o config.o epautoconf.o
 
@@ -32,2 +34,2 @@ obj-$(CONFIG_USB_G_SERIAL)	+= g_serial.o
 obj-$(CONFIG_USB_MIDI_GADGET)	+= g_midi.o
-
+obj-$(CONFIG_USB_COMPOSITE)	+= g_composite.o

--
Best Regards,

Felipe Balbi
[email protected]

Nokia Institute of Technology - INdT
Kernel Developers Team

+55 92 2126 1003


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.