mmc: sdhci-s3c: use S3C_SDHCI_CONTROL2 instead of hardcoded offset value

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
This commit is contained in:
Jingoo Han 2011-12-14 13:25:46 +09:00 committed by Chris Ball
parent 053b3ce6c1
commit 7003fecbf0
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ static void sdhci_s3c_check_sclk(struct sdhci_host *host)
tmp &= ~S3C_SDHCI_CTRL2_SELBASECLK_MASK;
tmp |= ourhost->cur_clk << S3C_SDHCI_CTRL2_SELBASECLK_SHIFT;
writel(tmp, host->ioaddr + 0x80);
writel(tmp, host->ioaddr + S3C_SDHCI_CONTROL2);
}
}