usb: phy: add run-time dependencies to R-Car driver
authorJean Delvare <jdelvare@suse.de>
Fri, 23 May 2014 08:36:22 +0000 (10:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 19:28:05 +0000 (12:28 -0700)
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>
drivers/usb/phy/Kconfig

index adccdeb996d9b827d918fac285a59d57554930cc..4c35d6176735193fd9269a90c8092047aa7f9cc6 100644 (file)
@@ -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.