Browse Source

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>
Jean Delvare 11 years ago
parent
commit
915a12232d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/input/serio/Kconfig

+ 1 - 1
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.