diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-03-14 14:28:25 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-03-14 09:26:44 -0700 |
commit | 1d37ce929c71f430389db3042a8b23536cede1e5 (patch) | |
tree | d06a9f11629904a2a67f8b181d1073d325fbcc8a /sound | |
parent | 0f9d0e355d7c3fa5756313765a77961074017845 (diff) | |
download | linux-1d37ce929c71f430389db3042a8b23536cede1e5.tar.bz2 |
ASoC: da7219: make structure da7219_dai_clks_ops static
structure da7219_dai_clks_ops is local to the source and does not need
to be in global scope, so make it static.
Cleans up sparse warning:
sound/soc/codecs/da7219.c:1777:22: warning: symbol 'da7219_dai_clks_ops'
was not declared. Should it be static?
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/da7219.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/da7219.c b/sound/soc/codecs/da7219.c index 08f55d7a11ba..980a6a8bf56d 100644 --- a/sound/soc/codecs/da7219.c +++ b/sound/soc/codecs/da7219.c @@ -1774,7 +1774,7 @@ static int da7219_dai_clks_is_prepared(struct clk_hw *hw) return !!(clk_reg & DA7219_DAI_CLK_EN_MASK); } -const struct clk_ops da7219_dai_clks_ops = { +static const struct clk_ops da7219_dai_clks_ops = { .prepare = da7219_dai_clks_prepare, .unprepare = da7219_dai_clks_unprepare, .is_prepared = da7219_dai_clks_is_prepared, |