summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/smp-r8a7790.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-06-04 21:22:35 +0300
committerSimon Horman <horms+renesas@verge.net.au>2015-07-06 03:35:24 +0300
commitbd82aff9192dad2bfd3cb3fc19fdf741c2f6028e (patch)
tree1afa91899cf8f8ef12e17b443ea58a8149b1ea0b /arch/arm/mach-shmobile/smp-r8a7790.c
parent5afcd90f65ac990ca08b101a0e0fd9eac4e0dcde (diff)
downloadlinux-bd82aff9192dad2bfd3cb3fc19fdf741c2f6028e.tar.xz
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>
Diffstat (limited to 'arch/arm/mach-shmobile/smp-r8a7790.c')
-rw-r--r--arch/arm/mach-shmobile/smp-r8a7790.c4
1 files 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 */
};