Эх сурвалжийг харах

staging: xillybus: remove redundant Kconfig dependency

XILLYBUS_PCIE and XILLYBUS_OF are inside 'if XILLYBUS' already, so there is not
need to depend on XILLYBUS.

Cc: Eli Billauer <eli.billauer@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Baruch Siach 12 жил өмнө
parent
commit
f30bd6855c

+ 2 - 2
drivers/staging/xillybus/Kconfig

@@ -16,14 +16,14 @@ if XILLYBUS
 
 
 config XILLYBUS_PCIE
 config XILLYBUS_PCIE
 	tristate "Xillybus over PCIe"
 	tristate "Xillybus over PCIe"
-	depends on XILLYBUS && PCI
+	depends on PCI
 	help
 	help
 	  Set to M if you want Xillybus to use PCI Express for communicating
 	  Set to M if you want Xillybus to use PCI Express for communicating
 	  with the FPGA.
 	  with the FPGA.
 
 
 config XILLYBUS_OF
 config XILLYBUS_OF
 	tristate "Xillybus over Device Tree"
 	tristate "Xillybus over Device Tree"
-	depends on XILLYBUS && OF_ADDRESS && OF_IRQ
+	depends on OF_ADDRESS && OF_IRQ
 	help
 	help
 	  Set to M if you want Xillybus to find its resources from the
 	  Set to M if you want Xillybus to find its resources from the
 	  Open Firmware Flattened Device Tree. If the target is an embedded
 	  Open Firmware Flattened Device Tree. If the target is an embedded