[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>hifive-unleashed-5.1
parent
7fccfc00c0
commit
d5565f76d3
|
@ -100,7 +100,7 @@ static unsigned int last_jiffy_time;
|
||||||
|
|
||||||
#define TIMER4_TICKS_PER_JIFFY ((CLOCK_TICK_RATE + (HZ/2)) / HZ)
|
#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);
|
__raw_writel(1, EP93XX_TIMER1_CLEAR);
|
||||||
while ((signed long)
|
while ((signed long)
|
||||||
|
|
Loading…
Reference in New Issue