Просмотр исходного кода

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>
Geert Uytterhoeven 10 лет назад
Родитель
Сommit
bd82aff919
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      arch/arm/mach-shmobile/smp-r8a7790.c

+ 2 - 2
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 */
 };