diff options
author | Juha Yrjola juha.yrjola <at solidboot.com> | 2006-11-11 23:36:52 +0100 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2006-12-01 18:00:34 +0100 |
commit | 3342ee8bfa9c4453208766eb8ad61ef65241a091 (patch) | |
tree | 76fa5b1435c61486ecfe0d3e032dc5d23d5f83ed /drivers/mmc/omap.h | |
parent | 89783b1e44d3a6fc63be911468e09494ebbba3e3 (diff) |
Change OMAP_MMC_{READ,WRITE} macros to use the host pointer
This patch is part of Juha Yrjola's earlier patch to change
OMAP_MMC_{READ,WRITE} macros to use the host pointer
Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar <at> indt.org.br>
Signed-off-by: Juha Yrjola <juha.yrjola <at> solidboot.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/omap.h')
-rw-r--r-- | drivers/mmc/omap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/omap.h b/drivers/mmc/omap.h index c954d355a5e..11bf2ee32d6 100644 --- a/drivers/mmc/omap.h +++ b/drivers/mmc/omap.h @@ -41,8 +41,8 @@ #define OMAP_MMC_STAT_CARD_BUSY (1 << 2) #define OMAP_MMC_STAT_END_OF_CMD (1 << 0) -#define OMAP_MMC_READ(base, reg) __raw_readw((base) + OMAP_MMC_REG_##reg) -#define OMAP_MMC_WRITE(base, reg, val) __raw_writew((val), (base) + OMAP_MMC_REG_##reg) +#define OMAP_MMC_READ(host, reg) __raw_readw((host)->virt_base + OMAP_MMC_REG_##reg) +#define OMAP_MMC_WRITE(host, reg, val) __raw_writew((val), (host)->virt_base + OMAP_MMC_REG_##reg) /* * Command types |