summaryrefslogtreecommitdiffstats
path: root/drivers/soc
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2018-04-18 16:58:18 +0200
committerSimon Horman <horms+renesas@verge.net.au>2018-04-20 12:14:47 +0200
commita3daeedad3828cea21a50b02866ec62d98ad90ea (patch)
treed949ee53513e34f01b15787b38b65560671bebe6 /drivers/soc
parentb0d77648e0cd910ff087853237502ff08dfdb352 (diff)
downloadlinux-a3daeedad3828cea21a50b02866ec62d98ad90ea.tar.gz
linux-a3daeedad3828cea21a50b02866ec62d98ad90ea.tar.bz2
linux-a3daeedad3828cea21a50b02866ec62d98ad90ea.zip
soc: renesas: r8a77995-sysc: Cleanups
Minor cleanup of artefacts caused by deriving from r8a7795-sysc.c: - Remove unused inclusion of <linux/sys_soc.h>, - Make r8a77995_areas[] const. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/renesas/r8a77995-sysc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/soc/renesas/r8a77995-sysc.c b/drivers/soc/renesas/r8a77995-sysc.c
index f718429cab02..1b2ef415bbe1 100644
--- a/drivers/soc/renesas/r8a77995-sysc.c
+++ b/drivers/soc/renesas/r8a77995-sysc.c
@@ -10,13 +10,12 @@
#include <linux/bug.h>
#include <linux/kernel.h>
-#include <linux/sys_soc.h>
#include <dt-bindings/power/r8a77995-sysc.h>
#include "rcar-sysc.h"
-static struct rcar_sysc_area r8a77995_areas[] __initdata = {
+static const struct rcar_sysc_area r8a77995_areas[] __initconst = {
{ "always-on", 0, 0, R8A77995_PD_ALWAYS_ON, -1, PD_ALWAYS_ON },
{ "ca53-scu", 0x140, 0, R8A77995_PD_CA53_SCU, R8A77995_PD_ALWAYS_ON,
PD_SCU },