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
2 changed files with 3 additions and 4 deletions
|
@ -28,9 +28,10 @@
|
||||||
#include <linux/irq.h>
|
#include <linux/irq.h>
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/sched_clock.h>
|
#include <linux/sched_clock.h>
|
||||||
|
#include <linux/percpu.h>
|
||||||
|
#include <linux/time-armada-370-xp.h>
|
||||||
|
|
||||||
#include <asm/localtimer.h>
|
#include <asm/localtimer.h>
|
||||||
#include <linux/percpu.h>
|
|
||||||
/*
|
/*
|
||||||
* Timer block registers.
|
* Timer block registers.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -11,8 +11,6 @@
|
||||||
#ifndef __TIME_ARMADA_370_XPPRCMU_H
|
#ifndef __TIME_ARMADA_370_XPPRCMU_H
|
||||||
#define __TIME_ARMADA_370_XPPRCMU_H
|
#define __TIME_ARMADA_370_XPPRCMU_H
|
||||||
|
|
||||||
#include <linux/init.h>
|
void armada_370_xp_timer_init(void);
|
||||||
|
|
||||||
void __init armada_370_xp_timer_init(void);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue