Re: [PATCH v2 06/11] usb: musb: factor out hcd initalization

2013-04-10 Thread Peter Korsgaard
> "Daniel" == Daniel Mack writes: Daniel> The musb struct is currently allocated along with the hcd, Daniel> which makes it difficult to build a driver that only acts as Daniel> gadget device. Daniel> Fix this by allocating musb directly, and keep the hcd around as Daniel> a pointer in

[PATCH v2 06/11] usb: musb: factor out hcd initalization

2013-04-05 Thread Daniel Mack
The musb struct is currently allocated along with the hcd, which makes it difficult to build a driver that only acts as gadget device. Fix this by allocating musb directly, and keep the hcd around as a pointer in the musb struct. struct hc_driver musb_hc_driver can now also be static to musb_host