diff options
author | Roland Stigge <stigge@antcom.de> | 2012-08-20 10:30:14 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-08-31 12:41:25 +0300 |
commit | c4846a1807fc6138e2f010d65757feb4b7b0c2cf (patch) | |
tree | 90109b2515710dd4f002c50ee83a908ae54d5c13 /mm | |
parent | 78ca9139736f059b70bd797b01227271e0efa681 (diff) | |
download | blackbird-op-linux-c4846a1807fc6138e2f010d65757feb4b7b0c2cf.tar.gz blackbird-op-linux-c4846a1807fc6138e2f010d65757feb4b7b0c2cf.zip |
usb: gadget: lpc32xx_udc: Support multiple controllers
The lpc32xx_udc driver supported only one controller by defining a global
static struct for it. This patch enables multiple instances of the controller
by dynamic allocation of the struct at probe(). A static struct is kept as a
template on initialization since it does some complex preset, reflecting fixed
hardware endpoint structure.
Signed-off-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions