summaryrefslogtreecommitdiff
path: root/drivers/phy/allwinner
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-01-03 17:47:10 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-06 10:35:00 +0100
commit203b7ee14d3a38f1b8c44dd86ce0313d8fc4107d (patch)
tree23a6eb7aa06ce820f2e9dd91f797ceb4d73d8638 /drivers/phy/allwinner
parent4e52af1ccaa2d979894d4d059037ff9ec4d26a83 (diff)
phy: Enable compile testing for some of drivers
Some of the phy drivers can be compile tested to increase build coverage. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20200103164710.4829-2-krzk@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/phy/allwinner')
-rw-r--r--drivers/phy/allwinner/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/phy/allwinner/Kconfig b/drivers/phy/allwinner/Kconfig
index 3dab79e9d52b..e760d89d3976 100644
--- a/drivers/phy/allwinner/Kconfig
+++ b/drivers/phy/allwinner/Kconfig
@@ -48,7 +48,8 @@ config PHY_SUN9I_USB
config PHY_SUN50I_USB3
tristate "Allwinner H6 SoC USB3 PHY driver"
- depends on ARCH_SUNXI && HAS_IOMEM && OF
+ depends on ARCH_SUNXI || COMPILE_TEST
+ depends on HAS_IOMEM && OF
depends on RESET_CONTROLLER
select GENERIC_PHY
help