summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2010-04-23 06:49:43 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-04-23 09:22:30 +0200
commitd943f2c82144b0fb8aaebfbc6659c02cc3340527 (patch)
tree942e1bded67a62577ed63a795f2d0c96bdd23fe4 /arch/arm/plat-mxc
parente24798e637f5d5222f9fd767aefbea15de456e4a (diff)
downloadlinux-stable-d943f2c82144b0fb8aaebfbc6659c02cc3340527.tar.gz
linux-stable-d943f2c82144b0fb8aaebfbc6659c02cc3340527.tar.bz2
linux-stable-d943f2c82144b0fb8aaebfbc6659c02cc3340527.zip
arm/plat-mxc: Fix forgotten renaming in timer.c
Commit "mxc: Change gpt timer code to be more generic by using V2 instead of MX3" forgot to replace one occurence causing a build failure. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Cc: Amit Kucheria <amit.kucheria@canonical.com> Cc: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r--arch/arm/plat-mxc/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/time.c b/arch/arm/plat-mxc/time.c
index 714bdeffbe57..f9a1b059a76c 100644
--- a/arch/arm/plat-mxc/time.c
+++ b/arch/arm/plat-mxc/time.c
@@ -102,7 +102,7 @@ static void gpt_irq_acknowledge(void)
__raw_writel(MX2_TSTAT_CAPT | MX2_TSTAT_COMP,
timer_base + MX1_2_TSTAT);
} else if (timer_is_v2())
- __raw_writel(MX3_TSTAT_OF1, timer_base + MX3_TSTAT);
+ __raw_writel(V2_TSTAT_OF1, timer_base + V2_TSTAT);
}
static cycle_t mx1_2_get_cycles(struct clocksource *cs)