-
由 Roland Stigge 提交于
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: NRoland Stigge <stigge@antcom.de> Signed-off-by: NFelipe Balbi <balbi@ti.com>
c4846a18