All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mmc: at91_mci: add missing linux/highmem.h include
@ 2010-06-19 17:24 Marc Kleine-Budde
  2010-06-19 17:38 ` Marc Kleine-Budde
  2010-08-27 20:10 ` [PATCH RESEND] " Chris Ball
  0 siblings, 2 replies; 3+ messages in thread
From: Marc Kleine-Budde @ 2010-06-19 17:24 UTC (permalink / raw)
  To: linux-mmc; +Cc: Marc Kleine-Budde, Andrew Victor, Wolfgang Muees

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-27 20:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH RESEND] " Chris Ball

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.