summaryrefslogtreecommitdiffstats
path: root/drivers/input/serio/Kconfig
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-03-12 07:12:13 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-03-24 01:26:00 +0100
commit915a12232d1c4ef474b45a77eb89e0fceb24c2b5 (patch)
treef07e9a1c7f77c4f5f97e48f701627c58931ab023 /drivers/input/serio/Kconfig
parentInput: hp_sdc - use del_timer_sync() in exit path (diff)
downloadlinux-915a12232d1c4ef474b45a77eb89e0fceb24c2b5.tar.xz
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/Kconfig')
-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.