power: supply: olpc_battery: Allow building the driver on non-x86

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>
This commit is contained in:
Lubomir Rintel 2019-05-13 09:56:39 +02:00 committed by Andy Shevchenko
parent 231c0c2161
commit ef071bab65

View 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.