diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-11-06 14:15:40 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-12-11 07:40:38 -0800 |
commit | 60af58cde4f27190c19dba7348e48bb03850eb91 (patch) | |
tree | 2422680aaf2af9fb64e6ea6622f9958ffe51def3 /arch/arm/mach-omap2/cm2xxx.c | |
parent | a529f8de260e33237204f18c6c1540212a9653c7 (diff) | |
download | lwn-60af58cde4f27190c19dba7348e48bb03850eb91.tar.gz lwn-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/cm2xxx.c')
-rw-r--r-- | arch/arm/mach-omap2/cm2xxx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/cm2xxx.c b/arch/arm/mach-omap2/cm2xxx.c index cd90b4c6a06b..d5b87f42a96e 100644 --- a/arch/arm/mach-omap2/cm2xxx.c +++ b/arch/arm/mach-omap2/cm2xxx.c @@ -385,7 +385,7 @@ void omap2xxx_cm_set_mod_dividers(u32 mpu, u32 dsp, u32 gfx, u32 core, u32 mdm) * */ -static struct cm_ll_data omap2xxx_cm_ll_data = { +static const struct cm_ll_data omap2xxx_cm_ll_data = { .split_idlest_reg = &omap2xxx_cm_split_idlest_reg, .wait_module_ready = &omap2xxx_cm_wait_module_ready, }; |