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.


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>

Reply via email to