summaryrefslogtreecommitdiffstats
path: root/drivers/clk/meson/vid-pll-div.c
diff options
context:
space:
mode:
authorStephen Boyd2018-12-03 22:52:56 +0100
committerStephen Boyd2018-12-03 22:52:56 +0100
commit8913e8a73d03470b7aeaeab9c4f4fd3b50a0e2ec (patch)
tree49b1b5df71e9233435da2b58eb4b04cf3252b50d /drivers/clk/meson/vid-pll-div.c
parentMerge tag 'meson-clk-4.21-1' of https://github.com/BayLibre/clk-meson into cl... (diff)
downloadkernel-qcow2-linux-8913e8a73d03470b7aeaeab9c4f4fd3b50a0e2ec.tar.gz
kernel-qcow2-linux-8913e8a73d03470b7aeaeab9c4f4fd3b50a0e2ec.tar.xz
kernel-qcow2-linux-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.c4
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;