From: Jean Delvare Date: Wed, 12 Mar 2014 06:12:13 +0000 (-0700) Subject: Input: olpc_apsp - fix dependencies of OLPC AP-SP driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=915a12232d1c4ef474b45a77eb89e0fceb24c2b5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Input: olpc_apsp - fix dependencies of OLPC AP-SP driver I don't think the OLPC AP-SP driver is generally useful without OLPC support. So make it depend on OLPC, unless build testing is enabled. Signed-off-by: Jean Delvare Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/serio/Kconfig b/drivers/input/serio/Kconfig index aec54e283580..bc2d47431bdc 100644 --- a/drivers/input/serio/Kconfig +++ b/drivers/input/serio/Kconfig @@ -263,7 +263,7 @@ config SERIO_APBPS2 config SERIO_OLPC_APSP tristate "OLPC AP-SP input support" - depends on OF + depends on OLPC || 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.