diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2012-12-23 20:09:59 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-21 18:52:39 (GMT) |
commit | 78f46f09a80a39fe646fe415a21435f2a05df6c2 (patch) | |
tree | a1d2fab9c2dd25891751acd419778a023fa7b3c0 /drivers/usb/gadget/g_zero.h | |
parent | eeae54075ce3491968e9282cbb44f6a06b306b66 (diff) | |
download | linux-78f46f09a80a39fe646fe415a21435f2a05df6c2.tar.xz |
usb: gadget: move loopback's config descriptor out of f_loopback
f_loopback 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 | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/gadget/g_zero.h b/drivers/usb/gadget/g_zero.h index 919eaa9..281239c 100644 --- a/drivers/usb/gadget/g_zero.h +++ b/drivers/usb/gadget/g_zero.h @@ -19,7 +19,4 @@ void disable_endpoints(struct usb_composite_dev *cdev, struct usb_ep *in, struct usb_ep *out, struct usb_ep *iso_in, struct usb_ep *iso_out); -/* configuration-specific linkup */ -int loopback_add(struct usb_composite_dev *cdev, bool autoresume); - #endif /* __G_ZERO_H */ |