The Zynq FPGA manager driver serves no purpose on other architectures
so hide it unless build-testing.

Signed-off-by: Jean Delvare <[email protected]>
Acked-by: Moritz Fischer <[email protected]>
Acked-by: Alan Tull <[email protected]>
Acked-by: Michal Simek <[email protected]>
Cc: "Sören Brinkmann" <[email protected]>
---
Changes since v1:
* Rebased on top of v4.8-rc5.

I have already sent this patch on 2016-01-22 and 2016-07-07, it was
approved by everybody involved each time, but apparently it got lost
somewhere as I still can't find it upstream.

 drivers/fpga/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-4.8-rc5.orig/drivers/fpga/Kconfig     2016-09-08 10:22:11.166730687 
+0200
+++ linux-4.8-rc5/drivers/fpga/Kconfig  2016-09-08 10:22:38.621067814 +0200
@@ -21,6 +21,7 @@ config FPGA_MGR_SOCFPGA
 
 config FPGA_MGR_ZYNQ_FPGA
        tristate "Xilinx Zynq FPGA"
+       depends on ARCH_ZYNQ || COMPILE_TEST
        depends on HAS_DMA
        help
          FPGA manager driver support for Xilinx Zynq FPGAs.


-- 
Jean Delvare
SUSE L3 Support

Reply via email to