Commit 4e6d2739 authored by Lubomir Rintel's avatar Lubomir Rintel Committed by Andy Shevchenko

Platform: OLPC: Add a config menu category for XO 1.75

Randy Dunlap says:

  drivers/platform/olpc/Kconfig needs to use "menuconfig" like all of the
  other Kconfig files in drivers/platform/ so that its menu is listed in
  the correct place in *config interfaces.

Otherwise he's sad.
Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarLubomir Rintel <lkundrak@v3.sk>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent af21f32c
...@@ -2,9 +2,19 @@ config OLPC_EC ...@@ -2,9 +2,19 @@ config OLPC_EC
select REGULATOR select REGULATOR
bool bool
menuconfig OLPC_XO175
bool "Platform support for OLPC XO 1.75 hardware"
depends on ARCH_MMP || COMPILE_TEST
help
Say Y here to get to see options for the ARM-based OLPC platform.
This option alone does not add any kernel code.
Unless you have an OLPC XO laptop, you will want to say N.
if OLPC_XO175
config OLPC_XO175_EC config OLPC_XO175_EC
tristate "OLPC XO 1.75 Embedded Controller" tristate "OLPC XO 1.75 Embedded Controller"
depends on ARCH_MMP || COMPILE_TEST
depends on SPI_SLAVE depends on SPI_SLAVE
depends on INPUT depends on INPUT
depends on POWER_SUPPLY depends on POWER_SUPPLY
...@@ -15,3 +25,5 @@ config OLPC_XO175_EC ...@@ -15,3 +25,5 @@ config OLPC_XO175_EC
button, restart, shutdown and battery charging status. button, restart, shutdown and battery charging status.
Unless you have an OLPC XO laptop, you will want to say N. Unless you have an OLPC XO laptop, you will want to say N.
endif # OLPC_XO175
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment