* [PATCH] serial/mfd.c: Fix ARM compile error
@ 2010-10-01 17:33 Tim Gardner
0 siblings, 0 replies; only message in thread
From: Tim Gardner @ 2010-10-01 17:33 UTC (permalink / raw)
To: feng.tang; +Cc: linux-kernel@vger.kernel.org
[-- Attachment #1: Type: text/plain, Size: 119 bytes --]
Does it even make sense to build this module for non-x86 architectures?
rtg
--
Tim Gardner tim.gardner@canonical.com
[-- Attachment #2: 0001-UBUNTU-Upstream-Fix-ARM-compile-error.patch --]
[-- Type: text/x-patch, Size: 817 bytes --]
>From 61cdfbb1040ca0809c2f4988aa90297c185a6b22 Mon Sep 17 00:00:00 2001
From: Tim Gardner <tim.gardner@canonical.com>
Date: Fri, 1 Oct 2010 11:24:41 -0600
Subject: [PATCH] serial/mfd.c: Fix ARM compile error
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@canonical.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-10-01 17:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-01 17:33 [PATCH] serial/mfd.c: Fix ARM compile error Tim Gardner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.