Input: olpc_apsp - fix dependencies of OLPC AP-SP driver
authorJean Delvare <jdelvare@suse.de>
Wed, 12 Mar 2014 06:12:13 +0000 (23:12 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 24 Mar 2014 00:26:00 +0000 (17:26 -0700)
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>
drivers/input/serio/Kconfig

index aec54e283580178741b6ced917f1ea429f23c554..bc2d47431bdc505eb83190af1c0a555737947c92 100644 (file)
@@ -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.