summaryrefslogtreecommitdiffstats
path: root/drivers/input/serio
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-03-11 23:12:13 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-03-23 17:26:00 -0700
commit915a12232d1c4ef474b45a77eb89e0fceb24c2b5 (patch)
treef07e9a1c7f77c4f5f97e48f701627c58931ab023 /drivers/input/serio
parent5fcd4d2c119309366aad5d8287e1329d9dee02e1 (diff)
downloadlinux-915a12232d1c4ef474b45a77eb89e0fceb24c2b5.tar.gz
linux-915a12232d1c4ef474b45a77eb89e0fceb24c2b5.tar.bz2
linux-915a12232d1c4ef474b45a77eb89e0fceb24c2b5.zip
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 <jdelvare@suse.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/serio')
-rw-r--r--drivers/input/serio/Kconfig2
1 files changed, 1 insertions, 1 deletions
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.