diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-01-03 19:47:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-06 12:35:00 +0300 |
commit | 203b7ee14d3a38f1b8c44dd86ce0313d8fc4107d (patch) | |
tree | 23a6eb7aa06ce820f2e9dd91f797ceb4d73d8638 /drivers/phy/broadcom/Kconfig | |
parent | 4e52af1ccaa2d979894d4d059037ff9ec4d26a83 (diff) | |
download | linux-203b7ee14d3a38f1b8c44dd86ce0313d8fc4107d.tar.xz |
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/broadcom/Kconfig')
-rw-r--r-- | drivers/phy/broadcom/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/phy/broadcom/Kconfig b/drivers/phy/broadcom/Kconfig index d3d983c128ea..b29f11c19155 100644 --- a/drivers/phy/broadcom/Kconfig +++ b/drivers/phy/broadcom/Kconfig @@ -50,7 +50,7 @@ config PHY_BCM_NS_USB3 config PHY_NS2_PCIE tristate "Broadcom Northstar2 PCIe PHY driver" - depends on OF && MDIO_BUS_MUX_BCM_IPROC + depends on (OF && MDIO_BUS_MUX_BCM_IPROC) || (COMPILE_TEST && MDIO_BUS) select GENERIC_PHY default ARCH_BCM_IPROC help @@ -83,7 +83,7 @@ config PHY_BRCM_SATA config PHY_BRCM_USB tristate "Broadcom STB USB PHY driver" - depends on ARCH_BRCMSTB + depends on ARCH_BRCMSTB || COMPILE_TEST depends on OF select GENERIC_PHY select SOC_BRCMSTB |