Skip to content

Commit

Permalink
platform/x86: Fix run-time dependencies of OLPC drivers
Browse files Browse the repository at this point in the history
Let the xo15-ebook driver depend on OLPC as all other OLPC drivers
already do. Add COMPILE_TEST as an alternative for both xo1-rfkill
and xo15-ebook, to increase the build testing coverage.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Matthew Garrett <matthew.garrett@nebula.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
  • Loading branch information
Jean Delvare authored and Matthew Garrett committed Jun 10, 2014
1 parent 8ad3be1 commit b02fdfc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/platform/x86/Kconfig
Original file line number Diff line number Diff line change
@@ -722,14 +722,15 @@ config IBM_RTL

config XO1_RFKILL
tristate "OLPC XO-1 software RF kill switch"
depends on OLPC
depends on OLPC || COMPILE_TEST
depends on RFKILL
---help---
Support for enabling/disabling the WLAN interface on the OLPC XO-1
laptop.

config XO15_EBOOK
tristate "OLPC XO-1.5 ebook switch"
depends on OLPC || COMPILE_TEST
depends on ACPI && INPUT
---help---
Support for the ebook switch on the OLPC XO-1.5 laptop.

0 comments on commit b02fdfc

Please sign in to comment.