summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2020-12-01 14:20:50 +0300
committerVinod Koul <vkoul@kernel.org>2020-12-01 14:44:41 +0300
commit0e055d179ea9368f882d2060b0d82341ee90bae3 (patch)
treee8d366648d390bd83fe9e277414ebb2fdb608df4 /drivers
parentd7bb92e3c908a9df47bd3a306f6fc3e009babc5b (diff)
downloadlinux-0e055d179ea9368f882d2060b0d82341ee90bae3.tar.xz
phy: ralink: phy-mt7621-pci: drop 'COMPILE_TEST' from Kconfig
This driver includes the following two files directly: - mt7621.h - ralink_regs.h Compilation for its related platform properly works because its real path is included in 'arch/mips/ralink/Platform' as cflags. This driver depends on RALINK but also is enabled for COMPILE_TEST where nothing about its platform is known and this directly included files are not found at all breaking compilation. If we want 'COMPILE_TEST' we have to change cflags also inside 'phy/ralink' subdirectory Makefile which seems that does not like to linux-phy maintainers. Hence remove COMPILE_TEST from Kconfig to avoid the problem. Fixes: d87da32372a0 ("phy: ralink: Add PHY driver for MT7621 PCIe PHY") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Link: https://lore.kernel.org/r/20201201112051.17463-2-sergio.paracuellos@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/phy/ralink/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/ralink/Kconfig b/drivers/phy/ralink/Kconfig
index 2fabb14d2998..ecc309ba9fee 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 || COMPILE_TEST) && OF
+ depends on RALINK && OF
select GENERIC_PHY
select REGMAP_MMIO
help