diff mbox

[21/23] Alternative mmc structure to support pxa168, pxa910, mmp2 family SD

Message ID 8C0DD4AF-253D-47E2-88BC-90375FE7A782@marvell.com (mailing list archive)
State New, archived
Headers show

Commit Message

Philip Rakity Dec. 22, 2010, 7:11 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/mmc/host/sdhci-mmp2.c b/drivers/mmc/host/sdhci-mmp2.c
index 6824177..7303421 100644
--- a/drivers/mmc/host/sdhci-mmp2.c
+++ b/drivers/mmc/host/sdhci-mmp2.c
@@ -39,7 +39,6 @@ 
 
 #define DRIVER_NAME "sdhci-mmp2"
 
-#define HOST_CTRL_2		0x3E
 #define ASYNC_INT_EN		(1 << 14)
 
 #define SD_CFG_FIFO_PARAM       0x100
@@ -148,9 +147,9 @@  static void programFIFO(struct sdhci_host *host, int enable)
 	tmp = readw(host->ioaddr + HOST_CTRL_2);
 
 	if (enable)
-		tmp |= ASYNC_INT_EN;
+		tmp |= SDCTRL_2_ASYNC_INT_EN;
 	else
-		tmp &= ~ASYNC_INT_EN;
+		tmp &= ~SDCTRL_2_ASYNC_INT_EN;
 
 	writew(tmp, host->ioaddr + HOST_CTRL_2);
 }