linux/drivers/usb/phy
Arnd Bergmann ee5d5499ed usb: phy: tegra: don't call into tegra-ehci directly
Both phy-tegra-usb.c and ehci-tegra.c export symbols used by the other one,
which does not work if one of them or both are loadable modules, resulting
in an error like:

drivers/built-in.o: In function `utmi_phy_clk_disable':
drivers/usb/phy/phy-tegra-usb.c:302: undefined reference to `tegra_ehci_set_phcd'
drivers/built-in.o: In function `utmi_phy_clk_enable':
drivers/usb/phy/phy-tegra-usb.c:324: undefined reference to `tegra_ehci_set_phcd'
drivers/built-in.o: In function `utmi_phy_power_on':
drivers/usb/phy/phy-tegra-usb.c:447: undefined reference to `tegra_ehci_set_pts'

This turns the interface into a one-way dependency by letting the tegra ehci
driver pass two function pointers for callbacks that need to be called by
the phy driver.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Venu Byravarasu <vbyravarasu@nvidia.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Felipe Balbi <balbi@ti.com>
Cc: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-04-23 12:50:38 -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: tegra: don't call into tegra-ehci directly 2013-04-23 12:50:38 -07: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