Input: olpc_apsp - depend on ARCH_MMP
authorJean Delvare <jdelvare@suse.de>
Tue, 23 Apr 2019 03:30:58 +0000 (03:30 +0000)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 23 Apr 2019 03:42:54 +0000 (03:42 +0000)
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>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/Kconfig

index c9c7224..bfe436c 100644 (file)
@@ -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.