[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1465963324-21588-1-git-send-email-linux@roeck-us.net>
Date: Tue, 14 Jun 2016 21:02:04 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Daniel Lezcano <daniel.lezcano@...aro.org>
Cc: linux-kernel@...r.kernel.org, Guenter Roeck <linux@...ck-us.net>
Subject: [PATCH -next] nios2: clocksource: Fix build error
gcc has trouble parsing returen.
Fixes: 3e23d81046936 ("clocksource/drivers/nios2: Convert init function to return error")
Cc: Daniel Lezcano <daniel.lezcano@...aro.org>
Signed-off-by: Guenter Roeck <linux@...ck-us.net>
---
arch/nios2/kernel/time.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/nios2/kernel/time.c b/arch/nios2/kernel/time.c
index f3686f038996..f337eefdccbd 100644
--- a/arch/nios2/kernel/time.c
+++ b/arch/nios2/kernel/time.c
@@ -303,7 +303,7 @@ static __init int nios2_clocksource_init(struct device_node *timer)
/* Calibrate the delay loop directly */
lpj_fine = freq / HZ;
- returen 0;
+ return 0;
}
/*
--
2.5.0
Powered by blists - more mailing lists