diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2012-12-23 21:09:58 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-21 19:52:38 +0100 |
commit | eeae54075ce3491968e9282cbb44f6a06b306b66 (patch) | |
tree | 2fea50e51db80cf2e18f4cd99e60eec946efcdf1 /drivers/usb/gadget/g_zero.h | |
parent | usb: gadget: provide a wrapper around SourceSink's setup function (diff) | |
download | linux-eeae54075ce3491968e9282cbb44f6a06b306b66.tar.xz linux-eeae54075ce3491968e9282cbb44f6a06b306b66.zip |
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>
Diffstat (limited to 'drivers/usb/gadget/g_zero.h')
-rw-r--r-- | drivers/usb/gadget/g_zero.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/g_zero.h b/drivers/usb/gadget/g_zero.h index 71ca193358b8..919eaa9ae124 100644 --- a/drivers/usb/gadget/g_zero.h +++ b/drivers/usb/gadget/g_zero.h @@ -20,7 +20,6 @@ void disable_endpoints(struct usb_composite_dev *cdev, struct usb_ep *iso_in, struct usb_ep *iso_out); /* configuration-specific linkup */ -int sourcesink_add(struct usb_composite_dev *cdev, bool autoresume); int loopback_add(struct usb_composite_dev *cdev, bool autoresume); #endif /* __G_ZERO_H */ |