mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-31 16:38:12 +00:00
ARM: shmobile: rcar-gen2: Make rcar_gen2_{timer_init, reserve}() static
As of commit 1e90fea35b
("ARM: shmobile: r8a7791: Use common R-Car
Gen2 machine definition"), there are no more users of
rcar_gen2_timer_init() and rcar_gen2_reserve() outside
arch/arm/mach-shmobile/setup-rcar-gen2.c.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://lore.kernel.org/r/20200908074403.4379-1-geert+renesas@glider.be
This commit is contained in:
parent
9123e3a74e
commit
919c385dde
2 changed files with 2 additions and 4 deletions
|
@ -2,8 +2,6 @@
|
|||
#ifndef __ASM_RCAR_GEN2_H__
|
||||
#define __ASM_RCAR_GEN2_H__
|
||||
|
||||
void rcar_gen2_timer_init(void);
|
||||
void rcar_gen2_reserve(void);
|
||||
void rcar_gen2_pm_init(void);
|
||||
|
||||
#endif /* __ASM_RCAR_GEN2_H__ */
|
||||
|
|
|
@ -59,7 +59,7 @@ static unsigned int __init get_extal_freq(void)
|
|||
#define CNTCR 0
|
||||
#define CNTFID0 0x20
|
||||
|
||||
void __init rcar_gen2_timer_init(void)
|
||||
static void __init rcar_gen2_timer_init(void)
|
||||
{
|
||||
bool need_update = true;
|
||||
void __iomem *base;
|
||||
|
@ -174,7 +174,7 @@ static int __init rcar_gen2_scan_mem(unsigned long node, const char *uname,
|
|||
return 0;
|
||||
}
|
||||
|
||||
void __init rcar_gen2_reserve(void)
|
||||
static void __init rcar_gen2_reserve(void)
|
||||
{
|
||||
struct memory_reserve_config mrc;
|
||||
|
||||
|
|
Loading…
Reference in a new issue