diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-05-13 09:56:34 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-05-20 17:27:08 +0300 |
commit | ec9964b4803300fb86f8e8fd9b421e59f7a71dc5 (patch) | |
tree | 5c770c4005c99a13f1dfb87f9a2c4ca4d99cf9c9 /drivers/power | |
parent | 2dc78630497780b36975e5bcb69bbbf4d2ee0e46 (diff) | |
download | linux-ec9964b4803300fb86f8e8fd9b421e59f7a71dc5.tar.gz linux-ec9964b4803300fb86f8e8fd9b421e59f7a71dc5.tar.bz2 linux-ec9964b4803300fb86f8e8fd9b421e59f7a71dc5.zip |
Platform: OLPC: Move EC-specific functionality out from x86
Move the olpc-ec driver away from the X86 OLPC platform so that it could be
used by the ARM based laptops too. Notably, the driver for the OLPC battery,
which is also used on the ARM models, builds on this driver's interface.
It is actually plaform independent: the OLPC EC commands with their argument
and responses are mostly the same despite the delivery mechanism is
different.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/supply/olpc_battery.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/supply/olpc_battery.c b/drivers/power/supply/olpc_battery.c index 7720e4c2ac0b..066ec9a11153 100644 --- a/drivers/power/supply/olpc_battery.c +++ b/drivers/power/supply/olpc_battery.c @@ -20,7 +20,6 @@ #include <linux/jiffies.h> #include <linux/sched.h> #include <linux/olpc-ec.h> -#include <asm/olpc.h> #define EC_BAT_VOLTAGE 0x10 /* uint16_t, *9.76/32, mV */ |