diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-04-18 10:58:18 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2018-04-20 06:14:47 -0400 |
commit | a3daeedad3828cea21a50b02866ec62d98ad90ea (patch) | |
tree | d949ee53513e34f01b15787b38b65560671bebe6 /drivers/soc/renesas | |
parent | b0d77648e0cd910ff087853237502ff08dfdb352 (diff) |
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/renesas')
-rw-r--r-- | drivers/soc/renesas/r8a77995-sysc.c | 3 |
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 @@ | |||
10 | 10 | ||
11 | #include <linux/bug.h> | 11 | #include <linux/bug.h> |
12 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
13 | #include <linux/sys_soc.h> | ||
14 | 13 | ||
15 | #include <dt-bindings/power/r8a77995-sysc.h> | 14 | #include <dt-bindings/power/r8a77995-sysc.h> |
16 | 15 | ||
17 | #include "rcar-sysc.h" | 16 | #include "rcar-sysc.h" |
18 | 17 | ||
19 | static struct rcar_sysc_area r8a77995_areas[] __initdata = { | 18 | static const struct rcar_sysc_area r8a77995_areas[] __initconst = { |
20 | { "always-on", 0, 0, R8A77995_PD_ALWAYS_ON, -1, PD_ALWAYS_ON }, | 19 | { "always-on", 0, 0, R8A77995_PD_ALWAYS_ON, -1, PD_ALWAYS_ON }, |
21 | { "ca53-scu", 0x140, 0, R8A77995_PD_CA53_SCU, R8A77995_PD_ALWAYS_ON, | 20 | { "ca53-scu", 0x140, 0, R8A77995_PD_CA53_SCU, R8A77995_PD_ALWAYS_ON, |
22 | PD_SCU }, | 21 | PD_SCU }, |