]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: shmobile: r8a7790: Make struct rcar_sysc_ch const
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 4 Jun 2015 18:22:35 +0000 (20:22 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 6 Jul 2015 00:35:24 +0000 (09:35 +0900)
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/smp-r8a7790.c

index 930f45cbc08a5bb33677bbf02b5a2eb66b98d8ea..2ef0054ce934f021efb75250b815ede59952bb13 100644 (file)
 #include "rcar-gen2.h"
 #include "r8a7790.h"
 
-static struct rcar_sysc_ch r8a7790_ca15_scu = {
+static const struct rcar_sysc_ch r8a7790_ca15_scu = {
        .chan_offs = 0x180, /* PWRSR5 .. PWRER5 */
        .isr_bit = 12, /* CA15-SCU */
 };
 
-static struct rcar_sysc_ch r8a7790_ca7_scu = {
+static const struct rcar_sysc_ch r8a7790_ca7_scu = {
        .chan_offs = 0x100, /* PWRSR3 .. PWRER3 */
        .isr_bit = 21, /* CA7-SCU */
 };