linux/drivers/usb/musb
Uwe Kleine-König b0fca50f5a usb gadget: don't save bind callback in struct usb_gadget_driver
To accomplish this the function to register a gadget driver takes the bind
function as a second argument.  To make things clearer rename the function
to resemble platform_driver_probe.

This fixes many section mismatches like

	WARNING: drivers/usb/gadget/g_printer.o(.data+0xc): Section mismatch in
	reference from the variable printer_driver to the function
	.init.text:printer_bind()
	The variable printer_driver references
	the function __init printer_bind()

All callers are fixed.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
[m.nazarewicz@samsung.com: added dbgp]
Signed-off-by: Michał Nazarewicz <m.nazarewicz@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-22 10:21:25 -07:00
..
Kconfig
Makefile
blackfin.c
blackfin.h
cppi_dma.c usb: musb: gadget: fix dma length in txstate 2010-09-24 11:05:01 -07:00
cppi_dma.h
davinci.c
davinci.h
musb_core.c USB: musb: fix compilation warning in host only mode 2010-08-10 14:35:38 -07:00
musb_core.h USB: MUSB: make non-OMAP platforms build with CONFIG_PM=y 2010-06-30 08:16:07 -07:00
musb_debug.h
musb_debugfs.c usb: musb_debugfs: don't use the struct file private_data field with seq_files 2010-09-20 16:04:56 -07:00
musb_dma.h
musb_gadget.c usb gadget: don't save bind callback in struct usb_gadget_driver 2010-10-22 10:21:25 -07:00
musb_gadget.h usb: musb: gadget: restart request on clearing endpoint halt 2010-09-24 11:05:01 -07:00
musb_gadget_ep0.c usb: musb: gadget: restart request on clearing endpoint halt 2010-09-24 11:05:01 -07:00
musb_host.c usb: musb: host: Issue a memory barrier before starting DMA 2010-09-24 11:05:01 -07:00
musb_host.h
musb_io.h
musb_regs.h
musb_virthub.c USB: convert usb_hcd bitfields into atomic flags 2010-08-10 14:35:37 -07:00
musbhsdma.c USB: musb: do not override DMA mode in channel program 2010-08-10 14:35:39 -07:00
musbhsdma.h
omap2430.c USB: musb: Kill board specific pinmux from driver file 2010-08-10 14:35:39 -07:00
omap2430.h
tusb6010.c USB: musb: tusb6010: fix compile error with n8x0_defconfig 2010-07-26 12:00:59 -07:00
tusb6010.h
tusb6010_omap.c