linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fpga manager: Add hardware dependency to Zynq driver
@ 2016-02-22 13:42 Jean Delvare
  2016-02-22 15:04 ` Michal Simek
  0 siblings, 1 reply; 3+ messages in thread
From: Jean Delvare @ 2016-02-22 13:42 UTC (permalink / raw)
  To: LKML; +Cc: Alan Tull, Moritz Fischer, Michal Simek,  Sören Brinkmann

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

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Alan Tull <atull@opensource.altera.com>
Cc: Moritz Fischer <moritz.fischer@ettus.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: "Sören Brinkmann" <soren.brinkmann@xilinx.com>
---
Michal, Sören, I'm not sure if the driver is needed on ARCH_ZYNQMP too?

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

--- linux-4.5-rc5.orig/drivers/fpga/Kconfig	2016-01-11 00:01:32.000000000 +0100
+++ linux-4.5-rc5/drivers/fpga/Kconfig	2016-02-22 14:11:33.142068843 +0100
@@ -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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-22 17:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-22 13:42 [PATCH] fpga manager: Add hardware dependency to Zynq driver Jean Delvare
2016-02-22 15:04 ` Michal Simek
2016-02-22 17:20   ` Moritz Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).