Commit efccd24adae9821c908bbe2cdc7e632c91902ce3

Authored by Jean Delvare
Committed by Greg Kroah-Hartman
1 parent 2ea7b1487f

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/usb/phy/Kconfig
... ... @@ -201,6 +201,7 @@
201 201 config USB_RCAR_PHY
202 202 tristate "Renesas R-Car USB PHY support"
203 203 depends on USB || USB_GADGET
  204 + depends on ARCH_R8A7778 || ARCH_R8A7779 || COMPILE_TEST
204 205 select USB_PHY
205 206 help
206 207 Say Y here to add support for the Renesas R-Car USB common PHY driver.