[PATCH] eeepc-wmi: include slab.h

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tejun Heo
Date: Sunday, April 4, 2010 - 7:41 pm

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

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Yong Wang <yong.y.wang@intel.com>
---
Hello,

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

Thanks.

 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>
-- 
1.6.4.2

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] eeepc-wmi: include slab.h, Tejun Heo, (Sun Apr 4, 7:41 pm)
RE: [PATCH] eeepc-wmi: include slab.h, Wang, Yong Y, (Mon Apr 5, 5:30 am)
Re: [PATCH] eeepc-wmi: include slab.h, Tejun Heo, (Mon Apr 5, 7:34 am)