From: Lubomir Rintel Date: Mon, 13 May 2019 07:56:39 +0000 (+0200) Subject: power: supply: olpc_battery: Allow building the driver on non-x86 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ef071bab655b61e3235868a445b72346b8cc0193;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Andy Shevchenko --- diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig index 26dacdab03cc..5a40dffd1c95 100644 --- a/drivers/power/supply/Kconfig +++ b/drivers/power/supply/Kconfig @@ -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.