diff options
author | Jingoo Han <jg1.han@samsung.com> | 2011-12-14 13:25:46 +0900 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-01-11 23:58:45 -0500 |
commit | 7003fecbf0c9f7dde75d93ba75e0cb7ddb662749 (patch) | |
tree | f0e2eb3172fff7e897ed4a6bea92242bb31a4b80 /drivers | |
parent | 053b3ce6c15f0199c20b3fb06c3ae479de0324e2 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/host/sdhci-s3c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c index b6558b829a9..d065e3749e5 100644 --- a/drivers/mmc/host/sdhci-s3c.c +++ b/drivers/mmc/host/sdhci-s3c.c @@ -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); } } |