From: Jingoo Han Date: Wed, 14 Dec 2011 04:25:46 +0000 (+0900) Subject: mmc: sdhci-s3c: use S3C_SDHCI_CONTROL2 instead of hardcoded offset value X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7003fecbf0c9f7dde75d93ba75e0cb7ddb662749;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git mmc: sdhci-s3c: use S3C_SDHCI_CONTROL2 instead of hardcoded offset value Signed-off-by: Jingoo Han Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c index b6558b829a9c..d065e3749e56 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); } }