diff options
| author | David Vrabel <david.vrabel@csr.com> | 2007-08-08 09:23:05 -0400 |
|---|---|---|
| committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-09-23 15:16:27 -0400 |
| commit | 7616ee95f27a04fd5a6434e9ef4a82cec4b2807c (patch) | |
| tree | 93ec2054a7919af593e2324a5bfaf866ded416d6 /drivers/mmc/core/sdio_cis.c | |
| parent | e6f918bf39773d712ab5b457bff54ade3bda0cb1 (diff) | |
sdio: add SDIO_FBR_BASE(f) macro
Signed-off-by: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/core/sdio_cis.c')
| -rw-r--r-- | drivers/mmc/core/sdio_cis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/sdio_cis.c b/drivers/mmc/core/sdio_cis.c index ec806a1229b..d050c40cf04 100644 --- a/drivers/mmc/core/sdio_cis.c +++ b/drivers/mmc/core/sdio_cis.c | |||
| @@ -145,7 +145,7 @@ static int sdio_read_cis(struct mmc_card *card, struct sdio_func *func) | |||
| 145 | fn = 0; | 145 | fn = 0; |
| 146 | 146 | ||
| 147 | ret = mmc_io_rw_direct(card, 0, 0, | 147 | ret = mmc_io_rw_direct(card, 0, 0, |
| 148 | fn * 0x100 + SDIO_FBR_CIS + i, 0, &x); | 148 | SDIO_FBR_BASE(fn) + SDIO_FBR_CIS + i, 0, &x); |
| 149 | if (ret) | 149 | if (ret) |
| 150 | return ret; | 150 | return ret; |
| 151 | ptr |= x << (i * 8); | 151 | ptr |= x << (i * 8); |
