summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/r8a7779.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2018-05-30 18:25:15 +0300
committerSimon Horman <horms+renesas@verge.net.au>2018-06-18 13:00:28 +0300
commit16acd53b1547d3dbe3eabef5e3356674eb957ae4 (patch)
tree7f9630531d1616497631324d4e155d13b6f98d6f /arch/arm/mach-shmobile/r8a7779.h
parent9d65c891587ea9d0936551e432f34485c16bb71c (diff)
downloadlinux-16acd53b1547d3dbe3eabef5e3356674eb957ae4.tar.xz
ARM: shmobile: r8a7779: Remove explicit SYSC config and init
If the R-Car H1 system controller is described in DT, the rcar-sysc driver configures SYSCIER and SYSCIMR based on the SoC-specific power area definitions in r8a7779-sysc. The platform code still passed this information to the rcar-sysc driver, for compatibility with old DTBs predating commit b2df3aa487395a1b ("ARM: dts: r8a7779: Add SYSC PM Domains") in v4.7. The time has come to drop backwards compatibility, and delegate everything to the DT enabled rcar-sysc driver. After stopping powering down secondary CPUs during early boot, there is no longer a need to force an early initialization of the rcar-sysc driver. It will be initialized in time for secondary CPU bringup by its early_initcall(). Hence all explicit SYSC configuration and initialization can be removed from the R-Car H1 platform code. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/r8a7779.h')
-rw-r--r--arch/arm/mach-shmobile/r8a7779.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/r8a7779.h b/arch/arm/mach-shmobile/r8a7779.h
index 30668aa6acc3..ca9db8fde2f7 100644
--- a/arch/arm/mach-shmobile/r8a7779.h
+++ b/arch/arm/mach-shmobile/r8a7779.h
@@ -2,8 +2,6 @@
#ifndef __ASM_R8A7779_H__
#define __ASM_R8A7779_H__
-extern void r8a7779_pm_init(void);
-
extern const struct smp_operations r8a7779_smp_ops;
#endif /* __ASM_R8A7779_H__ */