Skip to content

Commit

Permalink
arm/plat-mxc: Fix forgotten renaming in timer.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wolfram Sang authored and Sascha Hauer committed Apr 23, 2010
1 parent e24798e commit d943f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-mxc/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d943f2c

Please sign in to comment.