diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2008-05-08 14:27:19 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-05-14 22:31:59 +1000 |
commit | 1c21a2937b1f342a8f5d580203c3396557d53b6e (patch) | |
tree | 78ee69e632c12afb00647f7aade4bca9b4344905 /include/asm-powerpc/time.h | |
parent | 1c8950ff87de950a3b6ccfb26650fc0a56278836 (diff) | |
download | linux-1c21a2937b1f342a8f5d580203c3396557d53b6e.tar.gz linux-1c21a2937b1f342a8f5d580203c3396557d53b6e.tar.bz2 linux-1c21a2937b1f342a8f5d580203c3396557d53b6e.zip |
[POWERPC] Fix sparse warnings in arch/powerpc/kernel
Make a few things static in lparcfg.c
Make init and exit routines static in rtas_flash.c
Make things static in rtas_pci.c
Make some functions static in rtas.c
Make fops static in rtas-proc.c
Remove unneeded extern for do_gtod in smp.c
Make clocksource_init() static in time.c
Make last_tick_len and ticklen_to_xs static in time.c
Move the declaration of the pvr per-cpu into smp.h
Make kexec_smp_down() and kexec_stack static in machine_kexec_64.c
Don't return void in arch_teardown_msi_irqs() in msi.c
Move declaration of GregorianDay()into asm/time.h
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/time.h')
-rw-r--r-- | include/asm-powerpc/time.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-powerpc/time.h b/include/asm-powerpc/time.h index ce5de6e0e690..febd581ec9b0 100644 --- a/include/asm-powerpc/time.h +++ b/include/asm-powerpc/time.h @@ -33,6 +33,7 @@ extern unsigned tb_to_us; struct rtc_time; extern void to_tm(int tim, struct rtc_time * tm); +extern void GregorianDay(struct rtc_time *tm); extern time_t last_rtc_update; extern void generic_calibrate_decr(void); |