]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
phy: sun9i-usb: add USB dependency
authorArnd Bergmann <arnd@arndb.de>
Mon, 30 Nov 2015 11:29:31 +0000 (12:29 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Thu, 3 Dec 2015 06:25:41 +0000 (11:55 +0530)
commit97dc5bf8d60938741e2f99242dff3684c29b6d90
tree6b27e502695f8122a2e6bfdcb0d8e5e4e89ed4a4
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
phy: sun9i-usb: add USB dependency

The sun9i usb phy driver calls of_usb_get_phy_mode(), which is not
available if USB is disabled:

drivers/built-in.o: In function `sun9i_usb_phy_probe':
:(.text+0x7fb0): undefined reference to `of_usb_get_phy_mode'

This adds a dependency to avoid the randconfig build errors.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 9c3b44302636 ("phy: Add driver to support individual USB PHYs on sun9i")
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/Kconfig