From: Geert Uytterhoeven Date: Thu, 4 Jun 2015 18:22:35 +0000 (+0200) Subject: ARM: shmobile: r8a7790: Make struct rcar_sysc_ch const X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bd82aff9192dad2bfd3cb3fc19fdf741c2f6028e;p=linux-beck.git ARM: shmobile: r8a7790: Make struct rcar_sysc_ch const Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- diff --git a/arch/arm/mach-shmobile/smp-r8a7790.c b/arch/arm/mach-shmobile/smp-r8a7790.c index 930f45cbc08a..2ef0054ce934 100644 --- a/arch/arm/mach-shmobile/smp-r8a7790.c +++ b/arch/arm/mach-shmobile/smp-r8a7790.c @@ -26,12 +26,12 @@ #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 */ };