summaryrefslogtreecommitdiff
path: root/drivers/usb/phy/Kconfig
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-05-23 10:36:22 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-27 12:28:05 -0700
commitefccd24adae9821c908bbe2cdc7e632c91902ce3 (patch)
treea3c219ca097920efb7fefacb280f977435134b98 /drivers/usb/phy/Kconfig
parent2ea7b1487f975eb409a7a2df4081d838069cab05 (diff)
usb: phy: add run-time dependencies to R-Car driver
The Renesas R-Car USB PHY driver only supports the R8A7778 and R8A7779, it isn't useful on other systems unless build testing. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Felipe Balbi <balbi@ti.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/phy/Kconfig')
-rw-r--r--drivers/usb/phy/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig
index adccdeb996d9..4c35d6176735 100644
--- a/drivers/usb/phy/Kconfig
+++ b/drivers/usb/phy/Kconfig
@@ -201,6 +201,7 @@ config USB_MXS_PHY
config USB_RCAR_PHY
tristate "Renesas R-Car USB PHY support"
depends on USB || USB_GADGET
+ depends on ARCH_R8A7778 || ARCH_R8A7779 || COMPILE_TEST
select USB_PHY
help
Say Y here to add support for the Renesas R-Car USB common PHY driver.