OSDN Git Service

phy: ralink: Kconfig: convert mt7621-pci-phy into 'bool'
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Sat, 8 May 2021 07:09:29 +0000 (09:09 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 14 May 2021 10:46:29 +0000 (16:16 +0530)
Make dependent on PCI_MT7621 configuration option and mark
this pci phy configuration as bool which has more sense.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210508070930.5290-6-sergio.paracuellos@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/ralink/Kconfig

index c2373b3..ed0c71e 100644 (file)
@@ -3,8 +3,8 @@
 # PHY drivers for Ralink platforms.
 #
 config PHY_MT7621_PCI
-       tristate "MediaTek MT7621 PCI PHY Driver"
-       depends on (RALINK && OF) || COMPILE_TEST
+       bool "MediaTek MT7621 PCI PHY Driver"
+       depends on (RALINK && OF && PCI_MT7621) || COMPILE_TEST
        select GENERIC_PHY
        select REGMAP_MMIO
        help