suniv: add new target
[openwrt/staging/wigyori.git] / package / boot / uboot-suniv / patches / 0019-sunxi-timer-forward-declare-function.patch
1 From b35aa33d8f831dada5990cb07ac3b696cd9d6a78 Mon Sep 17 00:00:00 2001
2 From: florpor <florist.powers@gmail.com>
3 Date: Wed, 29 Apr 2020 13:39:00 +0300
4 Subject: [PATCH 19/29] sunxi timer forward declare function
5
6 ---
7 arch/arm/cpu/arm926ejs/sunxi/timer.c | 3 +++
8 1 file changed, 3 insertions(+)
9
10 diff --git a/arch/arm/cpu/arm926ejs/sunxi/timer.c b/arch/arm/cpu/arm926ejs/sunxi/timer.c
11 index 36263896d8..7baae749c9 100644
12 --- a/arch/arm/cpu/arm926ejs/sunxi/timer.c
13 +++ b/arch/arm/cpu/arm926ejs/sunxi/timer.c
14 @@ -28,6 +28,9 @@ DECLARE_GLOBAL_DATA_PTR;
15
16 #define TIMER_NUM 0 /* we use timer 0 */
17
18 +/* forward declaration */
19 +ulong get_timer_masked(void);
20 +
21 /* read the 32-bit timer */
22 static ulong read_timer(void)
23 {
24 --
25 2.20.1
26