aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/cm33xx.c
diff options
context:
space:
mode:
authorGravatar Bhumika Goyal <bhumirks@gmail.com> 2017-11-06 14:15:40 +0100
committerGravatar Tony Lindgren <tony@atomide.com> 2017-12-11 07:40:38 -0800
commit60af58cde4f27190c19dba7348e48bb03850eb91 (patch)
tree2422680aaf2af9fb64e6ea6622f9958ffe51def3 /arch/arm/mach-omap2/cm33xx.c
parentARM: OMAP2+: CM: make some pointers and function arguments as const (diff)
downloadlinux-60af58cde4f27190c19dba7348e48bb03850eb91.tar.gz
linux-60af58cde4f27190c19dba7348e48bb03850eb91.tar.bz2
linux-60af58cde4f27190c19dba7348e48bb03850eb91.zip
ARM: OMAP2+: CM: make cm_ll_data structures as const
Make these const as they are only getting passed to the functions cm_register and cm_unregister having the arguments as const. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/cm33xx.c')
-rw-r--r--arch/arm/mach-omap2/cm33xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/cm33xx.c b/arch/arm/mach-omap2/cm33xx.c
index a9e08d89104e..0c9750fca387 100644
--- a/arch/arm/mach-omap2/cm33xx.c
+++ b/arch/arm/mach-omap2/cm33xx.c
@@ -342,7 +342,7 @@ struct clkdm_ops am33xx_clkdm_operations = {
.clkdm_clk_disable = am33xx_clkdm_clk_disable,
};
-static struct cm_ll_data am33xx_cm_ll_data = {
+static const struct cm_ll_data am33xx_cm_ll_data = {
.wait_module_ready = &am33xx_cm_wait_module_ready,
.wait_module_idle = &am33xx_cm_wait_module_idle,
.module_enable = &am33xx_cm_module_enable,