mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-07 21:53:44 +00:00
clocksource: time-armada-370-xp: Fix sparse warning
drivers/clocksource/time-armada-370-xp.c:217:13: warning: symbol 'armada_370_xp_timer_init' was not declared. Should it be static? Also remove the __init marking in the prototype as it's unnecessary and drop the init.h file. Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
parent
4d70c59bb5
commit
faef31b482
@ -28,9 +28,10 @@
|
||||
#include <linux/irq.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/sched_clock.h>
|
||||
#include <linux/percpu.h>
|
||||
#include <linux/time-armada-370-xp.h>
|
||||
|
||||
#include <asm/localtimer.h>
|
||||
#include <linux/percpu.h>
|
||||
/*
|
||||
* Timer block registers.
|
||||
*/
|
||||
|
@ -11,8 +11,6 @@
|
||||
#ifndef __TIME_ARMADA_370_XPPRCMU_H
|
||||
#define __TIME_ARMADA_370_XPPRCMU_H
|
||||
|
||||
#include <linux/init.h>
|
||||
|
||||
void __init armada_370_xp_timer_init(void);
|
||||
void armada_370_xp_timer_init(void);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user