Input: fix dependencies of OLPC AP-SP driver
Subsystems (2)
PATCH 1/1 Input: 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.
--- drivers/input/serio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/serio/Kconfig +1 -1
@@ -263,7 +263,7 @@ config SERIO_APBPS2 config SERIO_OLPC_APSP tristate "OLPC AP-SP input support" - depends on OF + depends on OLPC || (OF && 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.
Signature · 2 lines
Jean Delvare SUSE L3 Support
Dmitry Torokhov
maintainerHi Jean,
Quoted 12 lines · Jean Delvare
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 <[email protected]>Cc Dmitry Torokhov <[email protected]>--- drivers/input/serio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/serio/Kconfig config SERIO_APBPS2 · line 266
Quoted 5 lines
drivers/input/serio/Kconfig +1
-1@@ -263,7 +263,7 @@ config SERIO_APBPS2 config SERIO_OLPC_APSP tristate "OLPC AP-SP input support" - depends on OF + depends on OLPC || (OF && COMPILE_TEST)
Actually for compile coverage we do not actually need OF, I'll make it
depends on OLPC || COMPILE_TEST
instead.
drivers/input/serio/Kconfig config SERIO_APBPS2 · line 269
Quoted 5 lines
drivers/input/serio/Kconfig +0
-0help Say Y here if you want support for the keyboard and touchpad included in the OLPC XO-1.75 and XO-4 laptops.
Thanks.
Signature · 1 line
Dmitry
Hi Dmitry,
Quoted 21 lines · Dmitry Torokhov
Quoted 12 lines · Jean Delvare
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 <[email protected]>Cc Dmitry Torokhov <[email protected]>--- drivers/input/serio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/input/serio/Kconfig config SERIO_APBPS2 · line 266
Quoted 5 lines
drivers/input/serio/Kconfig +1
-1@@ -263,7 +263,7 @@ config SERIO_APBPS2 config SERIO_OLPC_APSP tristate "OLPC AP-SP input support" - depends on OF + depends on OLPC || (OF && COMPILE_TEST)Actually for compile coverage we do not actually need OF, I'll make it
Quoted 3 lines
depends on OLPC || COMPILE_TESTinstead.
Ah, you're right. Thanks for spotting it, your solution is easier and cleaner :)
Signature · 2 lines
Jean Delvare SUSE L3 Support