diff mbox

[2/3] Input: ts4800: add hardware dependency

Message ID 20160209111847.21902883@endymion (mailing list archive)
State Accepted
Headers show

Commit Message

Jean Delvare Feb. 9, 2016, 10:18 a.m. UTC
The Technologic Systems TS-4800 is an i.MX515 board, so its drivers
are useless unless building a SOC_IMX51 kernel, except for build
testing purposes.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Damien Riegel <damien.riegel@savoirfairelinux.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
 drivers/input/touchscreen/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Comments

Dmitry Torokhov March 4, 2016, 7:42 p.m. UTC | #1
On Tue, Feb 09, 2016 at 11:18:47AM +0100, Jean Delvare wrote:
> The Technologic Systems TS-4800 is an i.MX515 board, so its drivers
> are useless unless building a SOC_IMX51 kernel, except for build
> testing purposes.
> 
> Signed-off-by: Jean Delvare <jdelvare@suse.de>

Applied, thank you.

> Cc: Damien Riegel <damien.riegel@savoirfairelinux.com>
> Cc: Rob Herring <robh@kernel.org>
> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> ---
>  drivers/input/touchscreen/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- linux-4.5-rc3.orig/drivers/input/touchscreen/Kconfig	2016-02-02 09:02:08.180924572 +0100
> +++ linux-4.5-rc3/drivers/input/touchscreen/Kconfig	2016-02-09 08:58:50.693442294 +0100
> @@ -941,6 +941,7 @@ config TOUCHSCREEN_TOUCHIT213
>  config TOUCHSCREEN_TS4800
>  	tristate "TS-4800 touchscreen"
>  	depends on HAS_IOMEM && OF
> +	depends on SOC_IMX51 || COMPILE_TEST
>  	select MFD_SYSCON
>  	select INPUT_POLLDEV
>  	help
> 
> -- 
> Jean Delvare
> SUSE L3 Support
diff mbox

Patch

--- linux-4.5-rc3.orig/drivers/input/touchscreen/Kconfig	2016-02-02 09:02:08.180924572 +0100
+++ linux-4.5-rc3/drivers/input/touchscreen/Kconfig	2016-02-09 08:58:50.693442294 +0100
@@ -941,6 +941,7 @@  config TOUCHSCREEN_TOUCHIT213
 config TOUCHSCREEN_TS4800
 	tristate "TS-4800 touchscreen"
 	depends on HAS_IOMEM && OF
+	depends on SOC_IMX51 || COMPILE_TEST
 	select MFD_SYSCON
 	select INPUT_POLLDEV
 	help