summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2012-07-11 10:16:29 +0200
committerAndres Salomon <dilinger@queued.net>2012-08-01 05:27:29 +0200
commit3bf9428f220911795edde453a95f9509945004e5 (patch)
tree35015a41ea63f1ace08b53c97b12b0872620e492 /drivers/power
parentPlatform: OLPC: add a stub to drivers/platform/ for the OLPC EC driver (diff)
downloadlinux-3bf9428f220911795edde453a95f9509945004e5.tar.xz
linux-3bf9428f220911795edde453a95f9509945004e5.zip
drivers: OLPC: update various drivers to include olpc-ec.h
Switch over to using olpc-ec.h in multiple steps, so as not to break builds. This covers every driver that calls olpc_ec_cmd(). Signed-off-by: Andres Salomon <dilinger@queued.net> Acked-by: Paul Fox <pgf@laptop.org> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/olpc_battery.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/olpc_battery.c b/drivers/power/olpc_battery.c
index 7385092f9bc8..eaf917dc30d4 100644
--- a/drivers/power/olpc_battery.c
+++ b/drivers/power/olpc_battery.c
@@ -17,6 +17,7 @@
#include <linux/power_supply.h>
#include <linux/jiffies.h>
#include <linux/sched.h>
+#include <linux/olpc-ec.h>
#include <asm/olpc.h>