Message ID | 1387443241-5694-2-git-send-email-sachin.kamat@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 12/19/2013 01:53 AM, Sachin Kamat wrote: > tegra_clk_periph_nodiv_ops is used only in this file. Make it static. I believe that Peter De Schrijver is picking up patches for drivers/clk/tegra and sending pull requests to Mike. Hence, I'm CC'ing him in here. > > Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> > --- > drivers/clk/tegra/clk-periph.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/tegra/clk-periph.c b/drivers/clk/tegra/clk-periph.c > index c534043c0481..356e9b804421 100644 > --- a/drivers/clk/tegra/clk-periph.c > +++ b/drivers/clk/tegra/clk-periph.c > @@ -122,7 +122,7 @@ const struct clk_ops tegra_clk_periph_ops = { > .disable = clk_periph_disable, > }; > > -const struct clk_ops tegra_clk_periph_nodiv_ops = { > +static const struct clk_ops tegra_clk_periph_nodiv_ops = { > .get_parent = clk_periph_get_parent, > .set_parent = clk_periph_set_parent, > .is_enabled = clk_periph_is_enabled, >
On Thu, Dec 19, 2013 at 06:01:19PM +0100, Stephen Warren wrote: > On 12/19/2013 01:53 AM, Sachin Kamat wrote: > > tegra_clk_periph_nodiv_ops is used only in this file. Make it static. > > I believe that Peter De Schrijver is picking up patches for > drivers/clk/tegra and sending pull requests to Mike. Hence, I'm CC'ing > him in here. > This seems to be already merged in next-20131223 as 4e100354e5b7c8982d1563dca134d375979a8ead Cheers, Peter.
diff --git a/drivers/clk/tegra/clk-periph.c b/drivers/clk/tegra/clk-periph.c index c534043c0481..356e9b804421 100644 --- a/drivers/clk/tegra/clk-periph.c +++ b/drivers/clk/tegra/clk-periph.c @@ -122,7 +122,7 @@ const struct clk_ops tegra_clk_periph_ops = { .disable = clk_periph_disable, }; -const struct clk_ops tegra_clk_periph_nodiv_ops = { +static const struct clk_ops tegra_clk_periph_nodiv_ops = { .get_parent = clk_periph_get_parent, .set_parent = clk_periph_set_parent, .is_enabled = clk_periph_is_enabled,
tegra_clk_periph_nodiv_ops is used only in this file. Make it static. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- drivers/clk/tegra/clk-periph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)