summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/pm-rcar.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-06-04 20:22:30 +0200
committerSimon Horman <horms+renesas@verge.net.au>2015-07-06 09:35:19 +0900
commit624deb39a1c684b42569a3ec6a0fdcc74b950ed3 (patch)
tree556fef1f7d07858b9d086943de8a0da7da020b2f /arch/arm/mach-shmobile/pm-rcar.h
parent2f575fcff1fad24e97b8e7d793ad9af9ae5b8a17 (diff)
ARM: shmobile: R-Car: Make struct rcar_sysc_ch * parameters const
The passed struct rcar_sysc_ch is never modified, so it can be 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/pm-rcar.h')
-rw-r--r--arch/arm/mach-shmobile/pm-rcar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-shmobile/pm-rcar.h b/arch/arm/mach-shmobile/pm-rcar.h
index 06ebf00a6a5a..1b901db4a24c 100644
--- a/arch/arm/mach-shmobile/pm-rcar.h
+++ b/arch/arm/mach-shmobile/pm-rcar.h
@@ -7,9 +7,9 @@ struct rcar_sysc_ch {
u8 isr_bit;
};
-int rcar_sysc_power_down(struct rcar_sysc_ch *sysc_ch);
-int rcar_sysc_power_up(struct rcar_sysc_ch *sysc_ch);
-bool rcar_sysc_power_is_off(struct rcar_sysc_ch *sysc_ch);
+int rcar_sysc_power_down(const struct rcar_sysc_ch *sysc_ch);
+int rcar_sysc_power_up(const struct rcar_sysc_ch *sysc_ch);
+bool rcar_sysc_power_is_off(const struct rcar_sysc_ch *sysc_ch);
void __iomem *rcar_sysc_init(phys_addr_t base);
#endif /* PM_RCAR_H */