diff mbox series

[RESEND,v2,4/6] phy: ralink: Kconfig: enable COMPILE_TEST on mt7621-pci-phy driver

Message ID 20210508070930.5290-5-sergio.paracuellos@gmail.com
State Accepted
Headers show
Series phy: ralink: mt7621-pci-phy: some improvements | expand

Commit Message

Sergio Paracuellos May 8, 2021, 7:09 a.m. UTC
After use the clock apis and avoid custom architecture
code this driver can properly be enabled for COMPILE_TEST.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/phy/ralink/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/phy/ralink/Kconfig b/drivers/phy/ralink/Kconfig
index ecc309ba9fee..c2373b30b8a6 100644
--- a/drivers/phy/ralink/Kconfig
+++ b/drivers/phy/ralink/Kconfig
@@ -4,7 +4,7 @@ 
 #
 config PHY_MT7621_PCI
 	tristate "MediaTek MT7621 PCI PHY Driver"
-	depends on RALINK && OF
+	depends on (RALINK && OF) || COMPILE_TEST
 	select GENERIC_PHY
 	select REGMAP_MMIO
 	help