[PATCH] serial/mfd.c: Fix ARM compile error

From: Tim Gardner
Date: Fri Oct 01 2010 - 13:24:41 EST


drivers/serial/mfd.c: In function 'port_show_regs':
drivers/serial/mfd.c:144: error: implicit declaration of function 'kzalloc'

Signed-off-by: Tim Gardner <tim.gardner@xxxxxxxxxxxxx>
---
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 324c385..b67f499 100644
--- a/drivers/serial/mfd.c
+++ b/drivers/serial/mfd.c
@@ -38,6 +38,7 @@
#include <linux/dma-mapping.h>
#include <linux/pci.h>
#include <linux/io.h>
+#include <linux/slab.h>
#include <linux/debugfs.h>

#define MFD_HSU_A0_STEPPING 1
--
1.7.0.4


--------------020700000808060100020008--
--
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/