public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* pxamci.c fails to compile
@ 2007-05-14  8:22 Mike Rapoport
  2007-05-14  9:14 ` Russell King
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Rapoport @ 2007-05-14  8:22 UTC (permalink / raw)
  To: drzeus-mmc; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 254 bytes --]

The PXA MMC controller does not compile for PXA27x after MMC
reorganization, because it uses protocol defines to implement HW erratum
workaround (lines 232 - 247 of drivers/mmc/host/pxamci.c ).
The following patch fixes it


-- 
Sincerely yours,
Mike.



[-- Attachment #2: mmc_fix.patch --]
[-- Type: text/x-patch, Size: 343 bytes --]

diff --git a/drivers/mmc/host/pxamci.c b/drivers/mmc/host/pxamci.c
index d97d386..00fc99f 100644
--- a/drivers/mmc/host/pxamci.c
+++ b/drivers/mmc/host/pxamci.c
@@ -24,6 +24,7 @@
 #include <linux/interrupt.h>
 #include <linux/dma-mapping.h>
 #include <linux/mmc/host.h>
+#include <linux/mmc/mmc.h>
 
 #include <asm/dma.h>
 #include <asm/io.h>

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

end of thread, other threads:[~2007-05-14  9:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-14  8:22 pxamci.c fails to compile Mike Rapoport
2007-05-14  9:14 ` Russell King
2007-05-14  9:57   ` Pierre Ossman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox