Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754629AbdDKJW6 (ORCPT ); Tue, 11 Apr 2017 05:22:58 -0400 Received: from mail.zhinst.com ([212.126.164.98]:41606 "EHLO mail.zhinst.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752754AbdDKJW4 (ORCPT ); Tue, 11 Apr 2017 05:22:56 -0400 From: Tobias Klauser To: Alan Tull , Moritz Fischer Cc: linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] fpga: allow to compile-test Altera FPGA bridge drivers Date: Tue, 11 Apr 2017 11:22:38 +0200 Message-Id: <20170411092238.19624-1-tklauser@distanz.ch> X-Mailer: git-send-email 2.12.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1069 Lines: 33 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 --- 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