From: Chris Ball <cjb@laptop.org>
To: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: akpm@linux-foundation.org, linux-mmc@vger.kernel.org,
Andrew Victor <avictor.za@gmail.com>,
Wolfgang Muees <wolfgang.mues@auerswald.de>
Subject: [PATCH RESEND] mmc: at91_mci: add missing linux/highmem.h include
Date: Fri, 27 Aug 2010 21:10:24 +0100 [thread overview]
Message-ID: <20100827201023.GQ23079@void.printf.net> (raw)
In-Reply-To: <1276968257-21016-1-git-send-email-mkl@pengutronix.de>
Hi Andrew,
This patch wasn't merged, and Marc adds that he think his kernel config
could have been to blame. Looks harmless, though; want to take it?
From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: Sat, 19 Jun 2010 19:24:17 +0200
This patch fixes the following error:
at91_mci.c: In function 'at91_mci_sg_to_dma':
at91_mci.c:236: error: implicit declaration of function 'kmap_atomic'
at91_mci.c:236: error: 'KM_BIO_SRC_IRQ' undeclared (first use in this function)
at91_mci.c:236: error: (Each undeclared identifier is reported only once
at91_mci.c:236: error: for each function it appears in.)
at91_mci.c:236: warning: assignment makes pointer from integer without a cast
at91_mci.c:252: error: implicit declaration of function 'kunmap_atomic'
at91_mci.c: In function 'at91_mci_post_dma_read':
at91_mci.c:302: error: 'KM_BIO_SRC_IRQ' undeclared (first use in this function)
at91_mci.c:302: warning: assignment makes pointer from integer without a cast
at91_mci.c:317: error: implicit declaration of function 'flush_kernel_dcache_page'
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: Andrew Victor <avictor.za@gmail.com>
Cc: Wolfgang Muees <wolfgang.mues@auerswald.de>
---
drivers/mmc/host/at91_mci.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/host/at91_mci.c b/drivers/mmc/host/at91_mci.c
index 5f3a599..87226cd 100644
--- a/drivers/mmc/host/at91_mci.c
+++ b/drivers/mmc/host/at91_mci.c
@@ -66,6 +66,7 @@
#include <linux/clk.h>
#include <linux/atmel_pdc.h>
#include <linux/gfp.h>
+#include <linux/highmem.h>
#include <linux/mmc/host.h>
--
1.7.1
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
prev parent reply other threads:[~2010-08-27 20:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-19 17:24 [PATCH] mmc: at91_mci: add missing linux/highmem.h include Marc Kleine-Budde
2010-06-19 17:38 ` Marc Kleine-Budde
2010-08-27 20:10 ` Chris Ball [this message]
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=20100827201023.GQ23079@void.printf.net \
--to=cjb@laptop.org \
--cc=akpm@linux-foundation.org \
--cc=avictor.za@gmail.com \
--cc=linux-mmc@vger.kernel.org \
--cc=mkl@pengutronix.de \
--cc=wolfgang.mues@auerswald.de \
/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 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.