Message ID | 20220204071449.16762-2-tony@atomide.com |
---|---|
State | New |
Headers | show |
Series | Clock changes for TI dts reg and node name issues | expand |
Quoting Tony Lindgren (2022-02-03 23:14:42) > We can constify clkctrl_name in preparation for making use of the > clock-output-names property. > > Signed-off-by: Tony Lindgren <tony@atomide.com> > --- Applied to clk-next
diff --git a/drivers/clk/ti/clkctrl.c b/drivers/clk/ti/clkctrl.c --- a/drivers/clk/ti/clkctrl.c +++ b/drivers/clk/ti/clkctrl.c @@ -505,7 +505,7 @@ static void __init _ti_omap4_clkctrl_setup(struct device_node *node) struct omap_clkctrl_clk *clkctrl_clk = NULL; const __be32 *addrp; bool legacy_naming; - char *clkctrl_name; + const char *clkctrl_name; u32 addr; int ret; char *c;
We can constify clkctrl_name in preparation for making use of the clock-output-names property. Signed-off-by: Tony Lindgren <tony@atomide.com> --- drivers/clk/ti/clkctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)