]> git.openfabrics.org - ~emulex/infiniband.git/commit
usb: gadget: move source sink's config descriptor out of f_sourcesink
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Sun, 23 Dec 2012 20:09:58 +0000 (21:09 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 21 Jan 2013 18:52:38 +0000 (20:52 +0200)
commiteeae54075ce3491968e9282cbb44f6a06b306b66
tree2fea50e51db80cf2e18f4cd99e60eec946efcdf1
parent544aca39e670421c2daae4b6706f1e405b19ba72
usb: gadget: move source sink's config descriptor out of f_sourcesink

f_sourcesink should only include the bare function but it also includes
the config descriptor. This patch moves the config descriptor into
zero.c, the only user of this function.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/f_sourcesink.c
drivers/usb/gadget/g_zero.h
drivers/usb/gadget/zero.c