summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2010-10-01 02:15:28 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-01 21:50:58 +0400
commit63d66cab4755edc86ddc5b78cae657a3fda908e1 (patch)
tree88543405c166053e72be4046f89f224e9ce46dcf /drivers
parent399f1e30ac17b77d383444aff480c7390f5adf2a (diff)
downloadlinux-63d66cab4755edc86ddc5b78cae657a3fda908e1.tar.xz
drivers/serial/mfd.c needs slab.h
alpha allmodconfig: drivers/serial/mfd.c:144: error: implicit declaration of function 'kzalloc' drivers/serial/mfd.c:144: warning: assignment makes pointer from integer without a cast Cc: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/serial/mfd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/mfd.c b/drivers/serial/mfd.c
index 324c385a653d..5dff45c76d32 100644
--- a/drivers/serial/mfd.c
+++ b/drivers/serial/mfd.c
@@ -27,6 +27,7 @@
#include <linux/init.h>
#include <linux/console.h>
#include <linux/sysrq.h>
+#include <linux/slab.h>
#include <linux/serial_reg.h>
#include <linux/circ_buf.h>
#include <linux/delay.h>