diff options
| author | Jean Delvare <jdelvare@suse.de> | 2014-06-01 16:02:48 -0400 |
|---|---|---|
| committer | Matthew Garrett <matthew.garrett@nebula.com> | 2014-06-10 19:11:09 -0400 |
| commit | b02fdfcc40d74e64d3ea2a2120c96979e1b33128 (patch) | |
| tree | 4f293f26d4ed63d8015fbdde9cca8b5e21e3b0df | |
| parent | 8ad3be1eacbe252b93f5a0478413774308f3dbfb (diff) | |
platform/x86: Fix run-time dependencies of OLPC drivers
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>
| -rw-r--r-- | drivers/platform/x86/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 3ba9c42408c5..60d33834f28f 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig | |||
| @@ -722,7 +722,7 @@ config IBM_RTL | |||
| 722 | 722 | ||
| 723 | config XO1_RFKILL | 723 | config XO1_RFKILL |
| 724 | tristate "OLPC XO-1 software RF kill switch" | 724 | tristate "OLPC XO-1 software RF kill switch" |
| 725 | depends on OLPC | 725 | depends on OLPC || COMPILE_TEST |
| 726 | depends on RFKILL | 726 | depends on RFKILL |
| 727 | ---help--- | 727 | ---help--- |
| 728 | Support for enabling/disabling the WLAN interface on the OLPC XO-1 | 728 | Support for enabling/disabling the WLAN interface on the OLPC XO-1 |
| @@ -730,6 +730,7 @@ config XO1_RFKILL | |||
| 730 | 730 | ||
| 731 | config XO15_EBOOK | 731 | config XO15_EBOOK |
| 732 | tristate "OLPC XO-1.5 ebook switch" | 732 | tristate "OLPC XO-1.5 ebook switch" |
| 733 | depends on OLPC || COMPILE_TEST | ||
| 733 | depends on ACPI && INPUT | 734 | depends on ACPI && INPUT |
| 734 | ---help--- | 735 | ---help--- |
| 735 | Support for the ebook switch on the OLPC XO-1.5 laptop. | 736 | Support for the ebook switch on the OLPC XO-1.5 laptop. |
