[PATCH] fpga: zynq: Add hardware dependencies

From: Jean Delvare
Date: Thu Jul 07 2016 - 04:08:34 EST


The zynq-fpga driver is specific to its architecture, so do not
propose it on other architectures, unless build-testing.

Signed-off-by: Jean Delvare <jdelvare@xxxxxxx>
Cc: Moritz Fischer <moritz.fischer@xxxxxxxxx>
Cc: Alan Tull <atull@xxxxxxxxxxxxxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
drivers/fpga/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- linux-4.7-rc6.orig/drivers/fpga/Kconfig 2016-07-04 08:01:00.000000000 +0200
+++ linux-4.7-rc6/drivers/fpga/Kconfig 2016-07-07 09:29:50.395807394 +0200
@@ -21,6 +21,7 @@ config FPGA_MGR_SOCFPGA

config FPGA_MGR_ZYNQ_FPGA
tristate "Xilinx Zynq FPGA"
+ depends on ARCH_ZYNQ || COMPILE_TEST
help
FPGA manager driver support for Xilinx Zynq FPGAs.


--
Jean Delvare
SUSE L3 Support