ARM: OMAP2+: Make hwmod clkdm_name const
authorTony Lindgren <tony@atomide.com>
Tue, 14 Mar 2017 20:13:20 +0000 (13:13 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 14 Mar 2017 20:13:20 +0000 (13:13 -0700)
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>
arch/arm/mach-omap2/omap_hwmod.h

index e0f0d98..03310dd 100644 (file)
@@ -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;