linux/drivers/usb/musb
Daniel Mack 74c2e93600 usb: musb: factor out hcd initalization
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.c,
and the macro musb_to_hcd() is just a pointer dereferencer for now, and
will be eliminated later.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-05-28 19:22:23 +03:00
..
Kconfig USB: regroup all depends on USB within an if USB block 2013-04-09 16:49:07 -07:00
Makefile
am35x.c usb: otg: prefix otg_state_string with usb_ 2013-03-18 11:18:03 +02:00
blackfin.c usb: musb: fix incorrect usage of resource pointer 2013-05-28 19:00:49 +03:00
blackfin.h
cppi_dma.c usb: musb: drop dangling CONFIG_USB_MUSB_DEBUG 2013-03-18 11:18:01 +02:00
cppi_dma.h
da8xx.c usb: musb: fix incorrect usage of resource pointer 2013-05-28 19:00:49 +03:00
davinci.c usb: musb: fix incorrect usage of resource pointer 2013-05-28 19:00:49 +03:00
davinci.h
musb_core.c usb: musb: factor out hcd initalization 2013-05-28 19:22:23 +03:00
musb_core.h usb: musb: factor out hcd initalization 2013-05-28 19:22:23 +03:00
musb_debug.h
musb_debugfs.c usb: remove use of __devinit 2012-11-21 13:27:16 -08:00
musb_dma.h usb: remove use of __devinit 2012-11-21 13:27:16 -08:00
musb_dsps.c usb: musb: dsps: fix error return code in dsps_create_musb_pdev() 2013-05-15 17:24:17 +03:00
musb_gadget.c usb: musb: gadget: remove hcd initialization 2013-05-28 19:22:22 +03:00
musb_gadget.h usb: musb: move function declarations to musb_{host,gadget}.h 2013-05-28 19:22:20 +03:00
musb_gadget_ep0.c usb: musb: gadget: read ep0 fifo only if rxcount is non zero 2013-04-02 11:42:50 +03:00
musb_host.c usb: musb: factor out hcd initalization 2013-05-28 19:22:23 +03:00
musb_host.h usb: musb: factor out hcd initalization 2013-05-28 19:22:23 +03:00
musb_io.h usb: musb: use io{read,write}*_rep accessors 2012-12-17 17:15:13 -08:00
musb_regs.h
musb_virthub.c usb: musb: move musb_start to musb_virthub.c 2013-05-28 19:22:22 +03:00
musbhsdma.c usb: remove use of __devinit 2012-11-21 13:27:16 -08:00
musbhsdma.h usb: musb: remove generic_interrupt 2012-11-06 15:32:13 +02:00
omap2430.c usb: musb: fix incorrect usage of resource pointer 2013-05-28 19:00:49 +03:00
omap2430.h usb: start using the control module driver 2013-01-25 12:27:24 +02:00
tusb6010.c usb: musb: fix incorrect usage of resource pointer 2013-05-28 19:00:49 +03:00
tusb6010.h
tusb6010_omap.c ARM: arm-soc: power management and clock changes 2012-12-13 10:58:20 -08:00
ux500.c usb: musb: fix incorrect usage of resource pointer 2013-05-28 19:00:49 +03:00
ux500_dma.c usb: musb: ux500_dma: drop references to U5500 2013-04-03 11:55:10 +03:00