diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2010-10-01 02:15:28 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-01 21:50:58 +0400 |
commit | 63d66cab4755edc86ddc5b78cae657a3fda908e1 (patch) | |
tree | 88543405c166053e72be4046f89f224e9ce46dcf | |
parent | 399f1e30ac17b77d383444aff480c7390f5adf2a (diff) | |
download | linux-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>
-rw-r--r-- | drivers/serial/mfd.c | 1 |
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> |