usb: gadget: udc-core: introduce UDC binding by name
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Sun, 23 Dec 2012 20:10:19 +0000 (21:10 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 21 Jan 2013 18:52:46 +0000 (20:52 +0200)
commit4c49a5f0ef1bc61395329ea7a9fce2893e97eaa6
tree064349fb779ad5d628ea9f9b7b137205c7a14647
parent0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2
usb: gadget: udc-core: introduce UDC binding by name

This patch adds udc_attach_driver() which allows to bind an UDC which is
specified by name to a driver. The name of available UDCs can be
obtained from /sys/class/udc. This interface is intended for configfs
interface.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc-core.c
include/linux/usb/gadget.h