public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tim Gardner <tim.gardner@canonical.com>
To: feng.tang@intel.com
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: [PATCH] serial/mfd.c: Fix ARM compile error
Date: Fri, 01 Oct 2010 11:33:04 -0600	[thread overview]
Message-ID: <4CA61B50.6090203@canonical.com> (raw)

[-- 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


                 reply	other threads:[~2010-10-01 17:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CA61B50.6090203@canonical.com \
    --to=tim.gardner@canonical.com \
    --cc=feng.tang@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox