diff options
author | Mathieu Malaterre <malat@debian.org> | 2018-02-25 18:22:27 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-03-13 15:50:36 +1100 |
commit | 848092faa0c7687a99bf465808f7dae5bb5ca6be (patch) | |
tree | d250ce59862e217c1f570e281c751ff710f39659 /arch/powerpc/include/asm/time.h | |
parent | 8b604faff7d421904ebd1fa65d642f566f4a6648 (diff) | |
download | linux-stable-848092faa0c7687a99bf465808f7dae5bb5ca6be.tar.gz linux-stable-848092faa0c7687a99bf465808f7dae5bb5ca6be.tar.bz2 linux-stable-848092faa0c7687a99bf465808f7dae5bb5ca6be.zip |
powerpc: Add missing prototype for time_init()
The function time_init did not have a prototype defined in the time.h
header. Fix the following warning (treated as error in W=1):
arch/powerpc/kernel/time.c:1068:13: error: no previous prototype for ‘time_init’
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/time.h')
-rw-r--r-- | arch/powerpc/include/asm/time.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/time.h b/arch/powerpc/include/asm/time.h index a7a8a9ac5991..828ebe7ba7dc 100644 --- a/arch/powerpc/include/asm/time.h +++ b/arch/powerpc/include/asm/time.h @@ -205,6 +205,7 @@ struct cpu_usage { DECLARE_PER_CPU(struct cpu_usage, cpu_usage_array); extern void secondary_cpu_time_init(void); +extern void __init time_init(void); DECLARE_PER_CPU(u64, decrementers_next_tb); |