Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1621078

[PATCH] fpga: allow to compile-test Altera FPGA bridge drivers

From Tobias Klauser <tklauser@distanz.ch>
Newsgroups linux.kernel
Subject [PATCH] fpga: allow to compile-test Altera FPGA bridge drivers
Date 2017-04-11 11:30 +0200
Message-ID <tv0hA-543-23@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Add COMPILE_TEST to the Kconfig entries for the Altera SoCFPGA FPGA
Bridge and the Altera FPGA Freeze Bridge drivers to allow test-compiling
them on other architectures.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
 drivers/fpga/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig
index 161ba9dccede..38ab05d261bf 100644
--- a/drivers/fpga/Kconfig
+++ b/drivers/fpga/Kconfig
@@ -69,14 +69,14 @@ config FPGA_BRIDGE
 
 config SOCFPGA_FPGA_BRIDGE
 	tristate "Altera SoCFPGA FPGA Bridges"
-	depends on ARCH_SOCFPGA && FPGA_BRIDGE
+	depends on (ARCH_SOCFPGA || COMPILE_TEST) && FPGA_BRIDGE
 	help
 	  Say Y to enable drivers for FPGA bridges for Altera SOCFPGA
 	  devices.
 
 config ALTERA_FREEZE_BRIDGE
 	tristate "Altera FPGA Freeze Bridge"
-	depends on ARCH_SOCFPGA && FPGA_BRIDGE
+	depends on (ARCH_SOCFPGA || COMPILE_TEST) && FPGA_BRIDGE
 	help
 	  Say Y to enable drivers for Altera FPGA Freeze bridges.  A
 	  freeze bridge is a bridge that exists in the FPGA fabric to
-- 
2.12.2

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH] fpga: allow to compile-test Altera FPGA bridge drivers Tobias Klauser <tklauser@distanz.ch> - 2017-04-11 11:30 +0200
  Re: [PATCH] fpga: allow to compile-test Altera FPGA bridge drivers Alan Tull <atull@kernel.org> - 2017-04-11 16:30 +0200
    Re: [PATCH] fpga: allow to compile-test Altera FPGA bridge drivers Tobias Klauser <tklauser@distanz.ch> - 2017-04-11 16:40 +0200
      Re: [PATCH] fpga: allow to compile-test Altera FPGA bridge drivers Alan Tull <atull@kernel.org> - 2017-04-11 17:30 +0200
        Re: [PATCH] fpga: allow to compile-test Altera FPGA bridge drivers Tobias Klauser <tklauser@distanz.ch> - 2017-04-12 09:00 +0200

csiph-web