WSL2-Linux-Kernel/drivers/usb/otg
Randy Dunlap 63ead6a00d USB: otg: fix twl4030-usb build
subsys_initcall_sync() is only defined for built-in code, not for
loadable modules, so this driver build fails when built as a module.
However, the _sync() forms of the initcalls are not implemented,
so this should not be used -- just use the non-sync form of it.

drivers/usb/otg/twl4030-usb.c:777: warning: data definition has no type or storage class
drivers/usb/otg/twl4030-usb.c:777: warning: type defaults to 'int' in declaration of 'subsys_initcall_sync'
drivers/usb/otg/twl4030-usb.c:777: warning: parameter names (without types) in function declaration

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-09-23 06:46:34 -07:00
..
Kconfig Revert "USB: Add Intel Langwell USB OTG Transceiver Drive" 2009-07-12 15:16:36 -07:00
Makefile Revert "USB: Add Intel Langwell USB OTG Transceiver Drive" 2009-07-12 15:16:36 -07:00
gpio_vbus.c USB: gpio_vbus: add delayed vbus_session calls 2009-03-24 16:20:26 -07:00
isp1301_omap.c USB: move isp1301_omap to drivers/usb/otg 2009-01-07 10:00:02 -08:00
nop-usb-xceiv.c USB: otg: fix module reinsert issue 2009-07-12 15:16:41 -07:00
otg.c USB: otg: Fix bug on remove path without transceiver 2009-04-23 14:15:31 -07:00
twl4030-usb.c USB: otg: fix twl4030-usb build 2009-09-23 06:46:34 -07:00