summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2010-10-01 00:15:28 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-01 19:50:58 +0200
commit63d66cab4755edc86ddc5b78cae657a3fda908e1 (patch)
tree88543405c166053e72be4046f89f224e9ce46dcf
parentkfifo: fix scatterlist usage (diff)
downloadlinux-63d66cab4755edc86ddc5b78cae657a3fda908e1.tar.xz
linux-63d66cab4755edc86ddc5b78cae657a3fda908e1.zip
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>
-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>