diff options
Diffstat (limited to 'patches.renesas/0178-ARM-shmobile-r8a7790-Make-struct-rcar_sysc_ch-const.patch')
-rw-r--r-- | patches.renesas/0178-ARM-shmobile-r8a7790-Make-struct-rcar_sysc_ch-const.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/patches.renesas/0178-ARM-shmobile-r8a7790-Make-struct-rcar_sysc_ch-const.patch b/patches.renesas/0178-ARM-shmobile-r8a7790-Make-struct-rcar_sysc_ch-const.patch new file mode 100644 index 00000000000000..f77ef8da8d0cec --- /dev/null +++ b/patches.renesas/0178-ARM-shmobile-r8a7790-Make-struct-rcar_sysc_ch-const.patch @@ -0,0 +1,36 @@ +From 369e962a8edf5dc5c840731d836b1201d2bab1e5 Mon Sep 17 00:00:00 2001 +From: Geert Uytterhoeven <geert+renesas@glider.be> +Date: Thu, 4 Jun 2015 20:22:35 +0200 +Subject: [PATCH 178/326] ARM: shmobile: r8a7790: Make struct rcar_sysc_ch + const + +Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> +Signed-off-by: Simon Horman <horms+renesas@verge.net.au> +(cherry picked from commit bd82aff9192dad2bfd3cb3fc19fdf741c2f6028e) +Signed-off-by: Simon Horman <horms+renesas@verge.net.au> +--- + arch/arm/mach-shmobile/smp-r8a7790.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +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 */ + }; +-- +2.6.2 + |