diff options
author | dmitry pervushin <dpervushin@embeddedalley.com> | 2009-05-03 11:49:26 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-05-07 10:25:57 -0400 |
commit | b4380b8e5888e5ef5872e43b610c9dac4bf253ac (patch) | |
tree | fde36e3174592a77d8a50ebd363d1868910ed67a /arch | |
parent | 7bd0f2f5fc5f51d351228488dfef5e33d28e8d0c (diff) |
[ARM] 5501/1: Freescale STMP: fix compilation warning
To avoid compile-time warning, added parameter to the stmp3xxx_clock_read
Signed-off-by: dmitry pervushin <dpervushin@embeddedalley.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-stmp3xxx/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-stmp3xxx/timer.c b/arch/arm/plat-stmp3xxx/timer.c index c916068f0cab..7d872f0aee70 100644 --- a/arch/arm/plat-stmp3xxx/timer.c +++ b/arch/arm/plat-stmp3xxx/timer.c | |||
@@ -45,7 +45,7 @@ stmp3xxx_timer_interrupt(int irq, void *dev_id) | |||
45 | return IRQ_HANDLED; | 45 | return IRQ_HANDLED; |
46 | } | 46 | } |
47 | 47 | ||
48 | static cycle_t stmp3xxx_clock_read(void) | 48 | static cycle_t stmp3xxx_clock_read(struct clocksource *cs) |
49 | { | 49 | { |
50 | return ~((HW_TIMROT_TIMCOUNTn_RD(1) & 0xFFFF0000) >> 16); | 50 | return ~((HW_TIMROT_TIMCOUNTn_RD(1) & 0xFFFF0000) >> 16); |
51 | } | 51 | } |