diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2012-12-23 21:10:20 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-21 20:52:47 +0200 |
commit | a59233407aed54b8a9121cea75d9c6a2a470d8d3 (patch) | |
tree | f073dd5e345f1ba8e1a23480e418cee608dc825e /include/linux/serial_pnx8xxx.h | |
parent | 4c49a5f0ef1bc61395329ea7a9fce2893e97eaa6 (diff) |
usb: gadget: factor out two helper functions from composite_bind()
This patch factors out two helper functions from composite_bind()
that is composite_dev_prepare() and its counterpart
composite_dev_cleanup().
This will be used by the configfs which requries a slightly different
bind/setup code because part of its configurations (i.e. config
descripts, cdev, …) are setup in advance and VID/PID and so one should
not be overwritten. Also the setup of ep0 endpoint can be delayed until
the UDC is assigned.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/serial_pnx8xxx.h')
0 files changed, 0 insertions, 0 deletions