diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-04-11 01:06:10 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-04-27 22:45:14 +0300 |
commit | 197d0bdf8b0168d69c400d3936d08066ab1499a7 (patch) | |
tree | 42de789963fa14f7f59ad604c2b878ea8011b890 /drivers/usb/gadget/legacy | |
parent | 3e9d3d2efc677b501b12512cab5adb4f32a0673a (diff) | |
download | linux-197d0bdf8b0168d69c400d3936d08066ab1499a7.tar.xz |
usb: phy: isp1301: work around tps65010 dependency
The isp1301-omap driver contains special hooks for the TPS65010
power management controller. It provides its own 'tps65010_set_vbus_draw'
wrapper in case that driver is not enabled through Kconfig, but
fails to handle the case where isp1301-omap is built-in but TPS65010
is a loadable module, which currently results in a link error:
drivers/built-in.o: In function `isp1301_set_power':
:(.text+0x14e188): undefined reference to `tps65010_set_vbus_draw'
This is a workaround to use the same trick as before also when
tps65010 is a module. Doing a proper fix would require much larger
changes to the driver that is not really worth it when the usb-phy
drivers are going to eventually get replaced with generic-phy
drivers.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/legacy')
0 files changed, 0 insertions, 0 deletions