summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/omap_hwmod.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2017-03-14 13:13:20 -0700
committerTony Lindgren <tony@atomide.com>2017-03-14 13:13:20 -0700
commit3cdf2f800b09850bf2d185f3673b9b3899691ea5 (patch)
treebfeafab9c5529dd48f8aa27ce3f821a068eb0d38 /arch/arm/mach-omap2/omap_hwmod.h
parentca5339b18c6b0a94d869ef72861bc8423c788ad0 (diff)
ARM: OMAP2+: Make hwmod clkdm_name const
This can be const, and will need to be const when we start initializing it from clkdm data. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod.h')
-rw-r--r--arch/arm/mach-omap2/omap_hwmod.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.h b/arch/arm/mach-omap2/omap_hwmod.h
index e0f0d9860875..03310dd80311 100644
--- a/arch/arm/mach-omap2/omap_hwmod.h
+++ b/arch/arm/mach-omap2/omap_hwmod.h
@@ -676,7 +676,7 @@ struct omap_hwmod {
const char *main_clk;
struct clk *_clk;
struct omap_hwmod_opt_clk *opt_clks;
- char *clkdm_name;
+ const char *clkdm_name;
struct clockdomain *clkdm;
struct list_head slave_ports; /* connect to *_TA */
void *dev_attr;