summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorLubomir Rintel2019-05-13 09:56:39 +0200
committerAndy Shevchenko2019-05-20 16:27:08 +0200
commitef071bab655b61e3235868a445b72346b8cc0193 (patch)
tree272824ce1dadc5e682c332217c7a8e185eecca8b /drivers/power
parentPlatform: OLPC: Add a regulator for the DCON (diff)
downloadkernel-qcow2-linux-ef071bab655b61e3235868a445b72346b8cc0193.tar.gz
kernel-qcow2-linux-ef071bab655b61e3235868a445b72346b8cc0193.tar.xz
kernel-qcow2-linux-ef071bab655b61e3235868a445b72346b8cc0193.zip
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>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/Kconfig2
1 files changed, 1 insertions, 1 deletions
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.