power: supply: olpc_battery: Allow building the driver on non-x86
authorLubomir Rintel <lkundrak@v3.sk>
Mon, 13 May 2019 07:56:39 +0000 (09:56 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 20 May 2019 14:27:08 +0000 (17:27 +0300)
With the recent changes to the driver and addition of OLPC XO-1.75 EC
driver it is possible to use this driver on ARM-based XO laptops as
well.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/power/supply/Kconfig

index 26dacdab03ccbec8e57c2e2cc25aa5856d628387..5a40dffd1c956f4dfec05665487d1f753bdfc6bc 100644 (file)
@@ -151,7 +151,7 @@ config BATTERY_PMU
 
 config BATTERY_OLPC
        tristate "One Laptop Per Child battery"
-       depends on X86_32 && OLPC
+       depends on OLPC_EC
        help
          Say Y to enable support for the battery on the OLPC laptop.