From: George Hilliard <thirtythreefo...@gmail.com>

These drivers are useful on other MT76xx SoCs, which have compatible
peripherals.  The drivers are selectable in Kconfig, but they were
quietly excluded from the build because the SOC_MT7621 chip was not
selected.  So, make the main staging Makefile use the same flags as
everything else for these drivers.

I have personally confirmed that the mt7621-spi driver works on the
MT7688, which was what prompted this change.

Cc: de...@driverdev.osuosl.org
Cc: Matthias Brugger <matthias....@gmail.com>
Cc: John Crispin <blo...@openwrt.org>
Signed-off-by: George Hilliard <thirtythreefo...@gmail.com>
---
 drivers/staging/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile
index 5868631e8f1b..50c980c16c0d 100644
--- a/drivers/staging/Makefile
+++ b/drivers/staging/Makefile
@@ -42,10 +42,10 @@ obj-$(CONFIG_BCM2835_VCHIQ) += vc04_services/
 obj-$(CONFIG_DRM_VBOXVIDEO)    += vboxvideo/
 obj-$(CONFIG_PI433)            += pi433/
 obj-$(CONFIG_SOC_MT7621)       += mt7621-pci/
-obj-$(CONFIG_SOC_MT7621)       += mt7621-pinctrl/
-obj-$(CONFIG_SOC_MT7621)       += mt7621-spi/
+obj-$(CONFIG_PINCTRL_RT2880)   += mt7621-pinctrl/
+obj-$(CONFIG_SPI_MT7621)       += mt7621-spi/
 obj-$(CONFIG_SOC_MT7621)       += mt7621-dma/
-obj-$(CONFIG_SOC_MT7621)       += mt7621-mmc/
+obj-$(CONFIG_MTK_MMC)  += mt7621-mmc/
 obj-$(CONFIG_SOC_MT7621)       += mt7621-eth/
 obj-$(CONFIG_SOC_MT7621)       += mt7621-dts/
 obj-$(CONFIG_STAGING_GASKET_FRAMEWORK) += gasket/
-- 
2.20.1

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to