diff options
author | Stephen Boyd <sboyd@kernel.org> | 2018-12-03 13:52:56 -0800 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-12-03 13:52:56 -0800 |
commit | 8913e8a73d03470b7aeaeab9c4f4fd3b50a0e2ec (patch) | |
tree | 49b1b5df71e9233435da2b58eb4b04cf3252b50d /drivers/clk/meson/vid-pll-div.c | |
parent | 4946166e46d205bff6749887b62c646693615e9e (diff) | |
download | lwn-8913e8a73d03470b7aeaeab9c4f4fd3b50a0e2ec.tar.gz lwn-8913e8a73d03470b7aeaeab9c4f4fd3b50a0e2ec.zip |
clk: meson: Mark some things static
These are missing 'static' so sparse complains:
drivers/clk/meson/vid-pll-div.c:58:26: warning: symbol '_get_table_val' was not declared. Should it be static?
drivers/clk/meson/gxbb.c:1585:12: warning: symbol 'gxbb_vid_pll_parent_names' was not declared. Should it be static?
drivers/clk/meson/gxbb.c:1620:12: warning: symbol 'gxbb_vclk_parent_names' was not declared. Should it be static?
drivers/clk/meson/gxbb.c:1980:12: warning: symbol 'gxbb_cts_parent_names' was not declared. Should it be static?
drivers/clk/meson/gxbb.c:2036:12: warning: symbol 'gxbb_cts_hdmi_tx_parent_names' was not declared. Should it be static?
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/meson/vid-pll-div.c')
-rw-r--r-- | drivers/clk/meson/vid-pll-div.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/meson/vid-pll-div.c b/drivers/clk/meson/vid-pll-div.c index b3370ea7beac..88af0e282ea0 100644 --- a/drivers/clk/meson/vid-pll-div.c +++ b/drivers/clk/meson/vid-pll-div.c @@ -55,8 +55,8 @@ static const struct vid_pll_div vid_pll_div_table[] = { #define to_meson_vid_pll_div(_hw) \ container_of(_hw, struct meson_vid_pll_div, hw) -const struct vid_pll_div *_get_table_val(unsigned int shift_val, - unsigned int shift_sel) +static const struct vid_pll_div *_get_table_val(unsigned int shift_val, + unsigned int shift_sel) { int i; |