]> err.no Git - linux-2.6/commit
usb gadget zero: split out source/sink config
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 20 Jun 2008 00:55:23 +0000 (17:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Jul 2008 22:16:02 +0000 (15:16 -0700)
commita400cadc0774c31f67c419a835d80ba611128c2a
treebd28acffcc157e504e397f0eaba76043f2453f7f
parent40982be52d8f64c3e10adce17e66ab755a4fa26b
usb gadget zero: split out source/sink config

This splits the gadget zero "source/sink" configuration into a standalone
"configuration driver", building on the composite gadget framework code.
It doesn't yet pull the original code out of gadget zero or update how
that driver is built.

Neither this, nor its sibling "loopback" configuration, is a function
driver that can be combined with other functions.  (The host "usbtest"
driver wouldn't know how to deal with that!)  However the code becomes
simpler because of this conversion, so it's a net win.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/f_sourcesink.c [new file with mode: 0644]
drivers/usb/gadget/g_zero.h [new file with mode: 0644]