diff options
author | Arnd Bergmann <[email protected]> | 2019-03-04 21:23:57 +0100 |
---|---|---|
committer | Kishon Vijay Abraham I <[email protected]> | 2019-04-17 12:06:02 +0530 |
commit | d41ce98a122c13ea77938af04ef06fb12ae0c69e (patch) | |
tree | 800682662f6e5c1ac199d3150853e5cb101bf5df /drivers/usb/cdns3/cdns3-debug.h | |
parent | e03213b9a6eab6456de174afa071af4381e4f2d5 (diff) |
phy: ti: usb2: fix OMAP_CONTROL_PHY dependency
With randconfig build testing on arm64, we can run into a configuration
that has CONFIG_OMAP_CONTROL_PHY=m and CONFIG_OMAP_USB2=y, which in turn
causes a link failure:
drivers/phy/ti/phy-omap-usb2.o: In function `omap_usb_phy_power':
phy-omap-usb2.c:(.text+0x17c): undefined reference to `omap_control_phy_power'
I could not come up with a good way to correctly describe the relation
of the two symbols, but if we just select CONFIG_OMAP_CONTROL_PHY
during compile testing, we can no longer run into the broken configuration.
Fixes: 6777cee3a872 ("phy: ti: usb2: Add support for AM654 USB2 PHY")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions