From: Jean Delvare Date: Fri, 23 May 2014 08:36:22 +0000 (+0200) Subject: usb: phy: add run-time dependencies to R-Car driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=efccd24adae9821c908bbe2cdc7e632c91902ce3;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Cc: Felipe Balbi Cc: Greg Kroah-Hartman Cc: Laurent Pinchart Signed-off-by: Greg Kroah-Hartman --- 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.