summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/u_serial.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2008-06-19 18:18:50 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-21 15:16:07 -0700
commit61d8baea5d02f0f00fb789ce5551cbd8f8b77087 (patch)
tree90e52cbef05d698cb6b5a361930f19ea9b6fba17 /drivers/usb/gadget/u_serial.h
parent4d5a73dc39c1e1d8ba5feec5c6234ae920c59161 (diff)
usb gadget serial: split out generic serial function
Split out the generic serial support into a "function driver". This closely mimics the ACM support, but with a MUCH simpler control model. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/u_serial.h')
-rw-r--r--drivers/usb/gadget/u_serial.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/u_serial.h b/drivers/usb/gadget/u_serial.h
index 83b45a3801f..f9ce3005d75 100644
--- a/drivers/usb/gadget/u_serial.h
+++ b/drivers/usb/gadget/u_serial.h
@@ -58,5 +58,6 @@ void gserial_disconnect(struct gserial *);
/* functions are bound to configurations by a config or gadget driver */
int acm_bind_config(struct usb_configuration *c, u8 port_num);
+int gser_bind_config(struct usb_configuration *c, u8 port_num);
#endif /* __U_SERIAL_H */