summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/cminst44xx.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-11-06 16:15:40 +0300
committerTony Lindgren <tony@atomide.com>2017-12-11 18:40:38 +0300
commit60af58cde4f27190c19dba7348e48bb03850eb91 (patch)
tree2422680aaf2af9fb64e6ea6622f9958ffe51def3 /arch/arm/mach-omap2/cminst44xx.c
parenta529f8de260e33237204f18c6c1540212a9653c7 (diff)
downloadlinux-60af58cde4f27190c19dba7348e48bb03850eb91.tar.xz
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/cminst44xx.c')
-rw-r--r--arch/arm/mach-omap2/cminst44xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/cminst44xx.c b/arch/arm/mach-omap2/cminst44xx.c
index 8774e983bea1..2e2274fe0238 100644
--- a/arch/arm/mach-omap2/cminst44xx.c
+++ b/arch/arm/mach-omap2/cminst44xx.c
@@ -512,7 +512,7 @@ struct clkdm_ops am43xx_clkdm_operations = {
.clkdm_xlate_address = omap4_clkdm_xlate_address,
};
-static struct cm_ll_data omap4xxx_cm_ll_data = {
+static const struct cm_ll_data omap4xxx_cm_ll_data = {
.wait_module_ready = &omap4_cminst_wait_module_ready,
.wait_module_idle = &omap4_cminst_wait_module_idle,
.module_enable = &omap4_cminst_module_enable,