summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2012-07-11 01:16:29 -0700
committerAndres Salomon <dilinger@queued.net>2012-07-31 23:27:29 -0400
commit3bf9428f220911795edde453a95f9509945004e5 (patch)
tree35015a41ea63f1ace08b53c97b12b0872620e492 /drivers/platform
parent392a325c4351339cfbf182bb5a1444df1cf65dbb (diff)
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/platform')
-rw-r--r--drivers/platform/x86/xo1-rfkill.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/platform/x86/xo1-rfkill.c b/drivers/platform/x86/xo1-rfkill.c
index b57ad864148..1da13ed34b0 100644
--- a/drivers/platform/x86/xo1-rfkill.c
+++ b/drivers/platform/x86/xo1-rfkill.c
@@ -12,8 +12,7 @@
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/rfkill.h>
-
-#include <asm/olpc.h>
+#include <linux/olpc-ec.h>
static bool card_blocked;