]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
soc: renesas: r8a77995-sysc: Cleanups
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 18 Apr 2018 14:58:18 +0000 (16:58 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 20 Apr 2018 10:14:47 +0000 (12:14 +0200)
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>
drivers/soc/renesas/r8a77995-sysc.c

index f718429cab02393d6454befb30df24393e0b30be..1b2ef415bbe1cbf7f6adccdf36a52abce3ad22e4 100644 (file)
 
 #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 },