OSDN Git Service

phy: ralink: Kconfig: enable COMPILE_TEST on mt7621-pci-phy driver
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Sat, 8 May 2021 07:09:28 +0000 (09:09 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 14 May 2021 10:46:29 +0000 (16:16 +0530)
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>
Link: https://lore.kernel.org/r/20210508070930.5290-5-sergio.paracuellos@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/ralink/Kconfig

index ecc309b..c2373b3 100644 (file)
@@ -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