linux/drivers/usb/phy
Arnd Bergmann 4623245c76 usb: phy: phy core cannot yet be a module
A lot of platform code calls into the usb phy core at the moment, which
does not work if it is built as a loadable module. This will hopefully
change when those platforms are all converted to DT based probing,
but for now, the easiest solution is to change it from "tristate"
to "bool".

This solves at least these ARM allmodconfig build errors:

arch/arm/mach-imx/built-in.o: In function `imx_otg_ulpi_create':
arch/arm/mach-imx/ulpi.c:117: undefined reference to `otg_ulpi_create'
arch/arm/mach-omap2/built-in.o: In function `usbhs_init_phys':
arch/arm/mach-omap2/usb-host.c:652: undefined reference to `usb_bind_phy'
arch/arm/mach-omap2/built-in.o: In function `omap_2430sdp_init':
arch/arm/mach-omap2/board-2430sdp.c:236: undefined reference to `usb_bind_phy'
arch/arm/mach-omap2/built-in.o: In function `omap3_beagle_init':
arch/arm/mach-omap2/board-omap3beagle.c:554: undefined reference to `usb_bind_phy'
arch/arm/mach-omap2/built-in.o: In function `devkit8000_init':
arch/arm/mach-omap2/board-devkit8000.c:596: undefined reference to `usb_bind_phy'
arch/arm/mach-omap2/built-in.o: In function `omap_ldp_init':
arch/arm/mach-omap2/board-ldp.c:379: undefined reference to `usb_bind_phy'
drivers/built-in.o: In function `ab8500_charger_probe':
drivers/power/ab8500_charger.c:3629: undefined reference to `usb_get_phy'
drivers/power/ab8500_charger.c:3706: undefined reference to `usb_put_phy'
drivers/built-in.o: In function `ab8500_charger_remove':
drivers/power/ab8500_charger.c:3411: undefined reference to `usb_put_phy'

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-04-23 10:10:29 -07:00
..
Kconfig usb: phy: phy core cannot yet be a module 2013-04-23 10:10:29 -07:00
Makefile usb: phy: samsung: Add PHY support for USB 3.0 controller 2013-03-18 11:18:15 +02:00
phy-ab8500-usb.c usb: phy: ab8500-usb: check regulator_enable return value 2013-04-03 17:15:18 +03:00
phy-fsl-usb.c usb: phy: rename all phy drivers to phy-$name-usb.c 2013-03-18 11:18:08 +02:00
phy-fsl-usb.h usb: phy: rename all phy drivers to phy-$name-usb.c 2013-03-18 11:18:08 +02:00
phy-fsm-usb.c usb: phy: rename all phy drivers to phy-$name-usb.c 2013-03-18 11:18:08 +02:00
phy-fsm-usb.h usb: phy: rename all phy drivers to phy-$name-usb.c 2013-03-18 11:18:08 +02:00
phy-gpio-vbus-usb.c usb: phy: gpio-vbus: don't ignore regulator APIs return value 2013-03-20 08:01:53 +02:00
phy-isp1301-omap.c usb: patches for v3.10 merge window 2013-04-05 15:18:00 -07:00
phy-isp1301.c usb: phy: isp1301: implement PHY API 2013-03-18 11:18:10 +02:00
phy-msm-usb.c usb: phy: rename all phy drivers to phy-$name-usb.c 2013-03-18 11:18:08 +02:00
phy-mv-u3d-usb.c usb: patches for v3.10 merge window 2013-04-05 15:18:00 -07:00
phy-mv-u3d-usb.h usb: phy: rename all phy drivers to phy-$name-usb.c 2013-03-18 11:18:08 +02:00
phy-mv-usb.c usb: otg: mv_otg: remove unused clock 2013-04-02 11:42:45 +03:00
phy-mv-usb.h usb: otg: mv_otg: remove unused clock 2013-04-02 11:42:45 +03:00
phy-mxs-usb.c usb: phy: rename all phy drivers to phy-$name-usb.c 2013-03-18 11:18:08 +02:00
phy-nop.c usb: phy: rename all phy drivers to phy-$name-usb.c 2013-03-18 11:18:08 +02:00
phy-omap-control.c usb: phy: rename all phy drivers to phy-$name-usb.c 2013-03-18 11:18:08 +02:00
phy-omap-usb2.c usb: phy: rename all phy drivers to phy-$name-usb.c 2013-03-18 11:18:08 +02:00
phy-omap-usb3.c usb: phy: rename all phy drivers to phy-$name-usb.c 2013-03-18 11:18:08 +02:00
phy-rcar-usb.c usb: phy: rename all phy drivers to phy-$name-usb.c 2013-03-18 11:18:08 +02:00
phy-samsung-usb2.c usb: phy: samsung: fix sparse warning 2013-03-19 10:14:35 +02:00
phy-samsung-usb3.c usb: phy: samsung: convert to devm_ioremap_resource() 2013-04-03 10:56:27 +03:00
phy-samsung-usb.c usb: phy: samsung: Common out the generic stuff 2013-03-18 11:18:15 +02:00
phy-samsung-usb.h usb: phy: samsung: Add PHY support for USB 3.0 controller 2013-03-18 11:18:15 +02:00
phy-tegra-usb.c usb: phy: rename all phy drivers to phy-$name-usb.c 2013-03-18 11:18:08 +02:00
phy-twl4030-usb.c usb: patches for v3.10 merge window 2013-04-05 15:18:00 -07:00
phy-twl6030-usb.c usb: patches for v3.10 merge window 2013-04-05 15:18:00 -07:00
phy-ulpi-viewport.c usb: phy: rename all phy drivers to phy-$name-usb.c 2013-03-18 11:18:08 +02:00
phy-ulpi.c usb: phy: rename all phy drivers to phy-$name-usb.c 2013-03-18 11:18:08 +02:00
phy.c usb: phy: remove exported function from __init section 2013-04-23 14:13:48 +03:00