diff mbox series

[v2] Input: olpc_apsp - depend on ARCH_MMP

Message ID 20190411130807.3667c0ee@endymion (mailing list archive)
State Mainlined
Commit 841cb0f3e4ee06a86c0bafd79e3e8396db6e93f9
Headers show
Series [v2] Input: olpc_apsp - depend on ARCH_MMP | expand

Commit Message

Jean Delvare April 11, 2019, 11:08 a.m. UTC
The OLPC XO-1.75 and XO-4 are ARM-based laptops, using the Marvell
MMP architecture, so don't present this driver on other architectures
except for build-testing purposes.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
Changes since v1:
 * Restrict to ARCH_MMP instead of just ARM, as suggested by Lubomir
   and Pavel.

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

Comments

Dmitry Torokhov April 23, 2019, 3:31 a.m. UTC | #1
On Thu, Apr 11, 2019 at 01:08:07PM +0200, Jean Delvare wrote:
> The OLPC XO-1.75 and XO-4 are ARM-based laptops, using the Marvell
> MMP architecture, so don't present this driver on other architectures
> except for build-testing purposes.
> 
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> Reviewed-by: Lubomir Rintel <lkundrak@v3.sk>
> Acked-by: Pavel Machek <pavel@ucw.cz>
> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>

Applied, thank you.

> ---
> Changes since v1:
>  * Restrict to ARCH_MMP instead of just ARM, as suggested by Lubomir
>    and Pavel.
> 
>  drivers/input/serio/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- linux-5.0.orig/drivers/input/serio/Kconfig	2019-03-04 00:21:29.000000000 +0100
> +++ linux-5.0/drivers/input/serio/Kconfig	2019-04-11 13:04:34.280536001 +0200
> @@ -254,6 +254,7 @@ config SERIO_APBPS2
>  
>  config SERIO_OLPC_APSP
>  	tristate "OLPC AP-SP input support"
> +	depends on ARCH_MMP || COMPILE_TEST
>  	help
>  	  Say Y here if you want support for the keyboard and touchpad included
>  	  in the OLPC XO-1.75 and XO-4 laptops.
> 
> 
> -- 
> Jean Delvare
> SUSE L3 Support
diff mbox series

Patch

--- linux-5.0.orig/drivers/input/serio/Kconfig	2019-03-04 00:21:29.000000000 +0100
+++ linux-5.0/drivers/input/serio/Kconfig	2019-04-11 13:04:34.280536001 +0200
@@ -254,6 +254,7 @@  config SERIO_APBPS2
 
 config SERIO_OLPC_APSP
 	tristate "OLPC AP-SP input support"
+	depends on ARCH_MMP || COMPILE_TEST
 	help
 	  Say Y here if you want support for the keyboard and touchpad included
 	  in the OLPC XO-1.75 and XO-4 laptops.