aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/mt7621-pci-phy
diff options
context:
space:
mode:
authorGeorge Hilliard <thirtythreeforty@gmail.com>2019-01-15 23:48:43 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-18 11:01:02 +0100
commit9a413526140bfb077786812c2db5c31d8942cbfa (patch)
tree1e9ef7447630c0db18d929e158075f8d2212456c /drivers/staging/mt7621-pci-phy
parentstaging/xgifb: Needs to be converted to a drm driver (diff)
downloadlinux-dev-9a413526140bfb077786812c2db5c31d8942cbfa.tar.xz
linux-dev-9a413526140bfb077786812c2db5c31d8942cbfa.zip
staging: Mediatek: Use individual config flags in Makefile
These drivers can be useful on other MT76xx SoCs, which have compatible peripherals. The drivers were selectable in Kconfig, but they were quietly excluded from the build because the SOC_MT7621 chip was not selected. So, make the Makefiles use the same flags as Kconfig for these drivers. mt7621-dma and mt7621-dts are left alone because they truly do require that SoC. I have personally confirmed that the mt7621-spi driver works on the MT7688, which was what prompted this change. Cc: linux-kernel@vger.kernel.org Cc: devel@driverdev.osuosl.org Cc: NeilBrown <neil@brown.name> Cc: sergio.paracuellos@gmail.com Signed-off-by: George Hilliard <thirtythreeforty@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt7621-pci-phy')
-rw-r--r--drivers/staging/mt7621-pci-phy/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/mt7621-pci-phy/Makefile b/drivers/staging/mt7621-pci-phy/Makefile
index 2b82ccfc28c6..a970056f05c1 100644
--- a/drivers/staging/mt7621-pci-phy/Makefile
+++ b/drivers/staging/mt7621-pci-phy/Makefile
@@ -1 +1 @@
-obj-$(CONFIG_SOC_MT7621) += pci-mt7621-phy.o
+obj-$(CONFIG_PCI_MT7621_PHY) += pci-mt7621-phy.o