aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/omap.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/omap.h')
-rw-r--r--drivers/mmc/omap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/omap.h b/drivers/mmc/omap.h
index c954d355a5e3..11bf2ee32d6d 100644
--- a/drivers/mmc/omap.h
+++ b/drivers/mmc/omap.h
@@ -41,8 +41,8 @@
41#define OMAP_MMC_STAT_CARD_BUSY (1 << 2) 41#define OMAP_MMC_STAT_CARD_BUSY (1 << 2)
42#define OMAP_MMC_STAT_END_OF_CMD (1 << 0) 42#define OMAP_MMC_STAT_END_OF_CMD (1 << 0)
43 43
44#define OMAP_MMC_READ(base, reg) __raw_readw((base) + OMAP_MMC_REG_##reg) 44#define OMAP_MMC_READ(host, reg) __raw_readw((host)->virt_base + OMAP_MMC_REG_##reg)
45#define OMAP_MMC_WRITE(base, reg, val) __raw_writew((val), (base) + OMAP_MMC_REG_##reg) 45#define OMAP_MMC_WRITE(host, reg, val) __raw_writew((val), (host)->virt_base + OMAP_MMC_REG_##reg)
46 46
47/* 47/*
48 * Command types 48 * Command types