diff options
author | Hartley Sweeten <hartleys@visionengravers.com> | 2009-04-14 21:38:07 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-04-15 10:01:03 +0100 |
commit | d5565f76d30a164570d883ab2e77a24b6b8686a0 (patch) | |
tree | 5bfcc256a47145717d1a818c379585580a75b137 | |
parent | 7fccfc00c003c855936970facdbb667bae9dbe9a (diff) | |
download | lwn-d5565f76d30a164570d883ab2e77a24b6b8686a0.tar.gz lwn-d5565f76d30a164570d883ab2e77a24b6b8686a0.zip |
[ARM] 5451/1: ep93xx:core.c: build warning fix
Fix trivial build warning due to incompatible pointer type.
ep93xx_timer_interrupt() has the wrong return type causing a
warning during the build.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | arch/arm/mach-ep93xx/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c index 6d9152de6074..ae24486f858a 100644 --- a/arch/arm/mach-ep93xx/core.c +++ b/arch/arm/mach-ep93xx/core.c @@ -100,7 +100,7 @@ static unsigned int last_jiffy_time; #define TIMER4_TICKS_PER_JIFFY ((CLOCK_TICK_RATE + (HZ/2)) / HZ) -static int ep93xx_timer_interrupt(int irq, void *dev_id) +static irqreturn_t ep93xx_timer_interrupt(int irq, void *dev_id) { __raw_writel(1, EP93XX_TIMER1_CLEAR); while ((signed long) |