usb: phy: Enable compile testing for some of drivers
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 30 Dec 2019 17:22:15 +0000 (18:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Dec 2019 19:35:31 +0000 (20:35 +0100)
Some of the USB phy drivers can be compile tested to increase build
coverage.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20191230172215.17370-2-krzk@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/Kconfig

index 24b4f09..ff24fca 100644 (file)
@@ -162,7 +162,7 @@ config USB_MXS_PHY
 
 config USB_TEGRA_PHY
        tristate "NVIDIA Tegra USB PHY Driver"
-       depends on ARCH_TEGRA
+       depends on ARCH_TEGRA || COMPILE_TEST
        select USB_COMMON
        select USB_PHY
        select USB_ULPI
@@ -172,7 +172,7 @@ config USB_TEGRA_PHY
 
 config USB_ULPI
        bool "Generic ULPI Transceiver Driver"
-       depends on ARM || ARM64
+       depends on ARM || ARM64 || COMPILE_TEST
        select USB_ULPI_VIEWPORT
        help
          Enable this to support ULPI connected USB OTG transceivers which