summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2021-05-08 09:09:29 +0200
committerVinod Koul <vkoul@kernel.org>2021-05-14 16:16:29 +0530
commit6eded551cefe3ef6e2b3ff76b6a77a2ecd4fa20a (patch)
tree1561c78031573841fb34ae66636ceddb34660c90
parent28dcfba1a0d622b0330ae3f4a9d7c7f2c245de7a (diff)
downloadlinux-stable-6eded551cefe3ef6e2b3ff76b6a77a2ecd4fa20a.tar.gz
linux-stable-6eded551cefe3ef6e2b3ff76b6a77a2ecd4fa20a.tar.bz2
linux-stable-6eded551cefe3ef6e2b3ff76b6a77a2ecd4fa20a.zip
phy: ralink: Kconfig: convert mt7621-pci-phy into 'bool'
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>
-rw-r--r--drivers/phy/ralink/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/phy/ralink/Kconfig b/drivers/phy/ralink/Kconfig
index c2373b30b8a6..ed0c71eff2c4 100644
--- a/drivers/phy/ralink/Kconfig
+++ b/drivers/phy/ralink/Kconfig
@@ -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