public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Rapoport <mike@compulab.co.il>
To: drzeus-mmc@drzeus.cx
Cc: linux-kernel@vger.kernel.org
Subject: pxamci.c fails to compile
Date: Mon, 14 May 2007 11:22:04 +0300	[thread overview]
Message-ID: <46481C2C.8030402@compulab.co.il> (raw)

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

             reply	other threads:[~2007-05-14  9:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-14  8:22 Mike Rapoport [this message]
2007-05-14  9:14 ` pxamci.c fails to compile Russell King
2007-05-14  9:57   ` Pierre Ossman

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=46481C2C.8030402@compulab.co.il \
    --to=mike@compulab.co.il \
    --cc=drzeus-mmc@drzeus.cx \
    --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