[PATCH] eeepc-wmi: include slab.h

From: Tejun Heo
Date: Sun Apr 04 2010 - 22:41:32 EST

eeepc-wmi uses kfree() but doesn't include slab.h. Include it.

Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
Cc: Yong Wang <yong.y.wang@xxxxxxxxx>

I've committed this patch to percpu#slabh branch which breaks implicit
slab interface availability. I'm gonna push the branch to Linus


drivers/platform/x86/eeepc-wmi.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c
index 2466b7b..9f88226 100644
--- a/drivers/platform/x86/eeepc-wmi.c
+++ b/drivers/platform/x86/eeepc-wmi.c
@@ -27,6 +27,7 @@
#include <linux/module.h>
#include <linux/init.h>
#include <linux/types.h>
+#include <linux/slab.h>
#include <linux/input.h>
#include <linux/input/sparse-keymap.h>
#include <acpi/acpi_bus.h>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/