]> git.baikalelectronics.ru Git - kernel.git/commit
phy: rcar-gen3-usb2: select USB_COMMON
authorArnd Bergmann <arnd@arndb.de>
Thu, 2 Nov 2017 11:56:36 +0000 (12:56 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 15 Dec 2017 10:30:41 +0000 (16:00 +0530)
commit3a49fc0c735283e8489db9bb842984a0e77b3fbd
treea78ff4799b8b84ff869ba7e260fd5d2d82d22b1d
parentf55a480fb4d5184890c149b3f079065e65faa208
phy: rcar-gen3-usb2: select USB_COMMON

When USB is disabled, we get a link error for this driver
because of the added OTG support

drivers/phy/renesas/phy-rcar-gen3-usb2.o: In function `rcar_gen3_phy_usb2_probe':
phy-rcar-gen3-usb2.c:(.text+0x250): undefined reference to `of_usb_get_dr_mode_by_phy'

Other phy drivers select USB_COMMON for this, so let's do the same
here.

Fixes: e98564578fde ("phy: rcar-gen3-usb2: check dr_mode for otg mode")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/renesas/Kconfig