Explorar o código

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>
Tony Lindgren %!s(int64=8) %!d(string=hai) anos
pai
achega
3cdf2f800b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      arch/arm/mach-omap2/omap_hwmod.h

+ 1 - 1
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;