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


Groups > linux.kernel > #1344812

[PATCH] gpio:ts4800: Add IMX51 dependency

From Julien Grossholtz <julien.grossholtz@savoirfairelinux.com>
Newsgroups linux.kernel
Subject [PATCH] gpio:ts4800: Add IMX51 dependency
Date 2016-02-27 00:10 +0100
Message-ID <r6zGh-22W-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


The TS-4800 is an i.MX515 board. Its GPIO driver should only be compiled
for this CPU or for test builds.

Signed-off-by: Julien Grossholtz <julien.grossholtz@savoirfairelinux.com>
---
 drivers/gpio/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 619767b..4d292ad 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -395,6 +395,7 @@ config GPIO_TB10X
 config GPIO_TS4800
 	tristate "TS-4800 DIO blocks and compatibles"
 	depends on OF_GPIO
+	depends on SOC_IMX51 || COMPILE_TEST
 	select GPIO_GENERIC
 	help
 	  This driver support TS-4800 FPGA GPIO controllers.
-- 
2.5.0

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


Thread

[PATCH] gpio:ts4800: Add IMX51 dependency Julien Grossholtz <julien.grossholtz@savoirfairelinux.com> - 2016-02-27 00:10 +0100

csiph-web