summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/pm-r8a7779.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-06-04 20:22:34 +0200
committerSimon Horman <horms+renesas@verge.net.au>2015-07-06 09:35:23 +0900
commit5afcd90f65ac990ca08b101a0e0fd9eac4e0dcde (patch)
treeff348aefe343d8fde92cb7b6c0d6eb0555635089 /arch/arm/mach-shmobile/pm-r8a7779.c
parentbcb8243792eaa855a51c96bfeaa5dbca19f48d07 (diff)
ARM: shmobile: r8a7779: 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/pm-r8a7779.c')
-rw-r--r--arch/arm/mach-shmobile/pm-r8a7779.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/pm-r8a7779.c b/arch/arm/mach-shmobile/pm-r8a7779.c
index 44a74c4c5a01..44e29e54b3bf 100644
--- a/arch/arm/mach-shmobile/pm-r8a7779.c
+++ b/arch/arm/mach-shmobile/pm-r8a7779.c
@@ -35,7 +35,8 @@ struct r8a7779_pm_domain {
struct rcar_sysc_ch ch;
};
-static inline struct rcar_sysc_ch *to_r8a7779_ch(struct generic_pm_domain *d)
+static inline
+const struct rcar_sysc_ch *to_r8a7779_ch(struct generic_pm_domain *d)
{
return &container_of(d, struct r8a7779_pm_domain, genpd)->ch;
}