staging, mt7621-pci: fix build without pci support

This change “staging, mt7621-pci: fix build without pci support” (commit 90cd9be) in Linux kernel is authored by Maxim Zhukov <mussitantesmortem [at] gmail.com> on Sat Mar 9 12:54:00 2019 +0300.

Description of "staging, mt7621-pci: fix build without pci support"

The change “staging, mt7621-pci: fix build without pci support” introduces changes as follows.

staging, mt7621-pci: fix build without pci support

Add depends on PCI for PCI_MT7621

Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Linux kernel releases containing commit 90cd9be

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "staging, mt7621-pci: fix build without pci support"

There is one line of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/staging/mt7621-pci/Kconfig | 1 +
 1 file changed, 1 insertion(+)
 
diff --git a/drivers/staging/mt7621-pci/Kconfig b/drivers/staging/mt7621-pci/Kconfig
index d33533872a16..c8fa17cfa807 100644
--- a/drivers/staging/mt7621-pci/Kconfig
+++ b/drivers/staging/mt7621-pci/Kconfig
@@ -1,6 +1,7 @@
 config PCI_MT7621
 	tristate "MediaTek MT7621 PCI Controller"
 	depends on RALINK
+	depends on PCI
 	select PCI_DRIVERS_GENERIC
 	help
 	  This selects a driver for the MediaTek MT7621 PCI Controller.

The commit for this change in Linux stable tree is 90cd9be (patch).

Last modified: 2020/02/09