提交 2d27deb4 编写于 作者: K kbuild test robot 提交者: Mark Brown

ASoC: rt5677: rt5677_irq_init() can be static

sound/soc/codecs/rt5677.c:4017:5: sparse: symbol 'rt5677_irq_init' was not declared. Should it be static?
sound/soc/codecs/rt5677.c:4044:6: sparse: symbol 'rt5677_irq_exit' was not declared. Should it be static?
Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 5e3363ad
...@@ -4014,7 +4014,7 @@ static struct regmap_irq_chip rt5677_irq_chip = { ...@@ -4014,7 +4014,7 @@ static struct regmap_irq_chip rt5677_irq_chip = {
.mask_invert = 1, .mask_invert = 1,
}; };
int rt5677_irq_init(struct i2c_client *i2c) static int rt5677_irq_init(struct i2c_client *i2c)
{ {
int ret; int ret;
struct rt5677_priv *rt5677 = i2c_get_clientdata(i2c); struct rt5677_priv *rt5677 = i2c_get_clientdata(i2c);
...@@ -4041,7 +4041,7 @@ int rt5677_irq_init(struct i2c_client *i2c) ...@@ -4041,7 +4041,7 @@ int rt5677_irq_init(struct i2c_client *i2c)
return 0; return 0;
} }
void rt5677_irq_exit(struct i2c_client *i2c) static void rt5677_irq_exit(struct i2c_client *i2c)
{ {
struct rt5677_priv *rt5677 = i2c_get_clientdata(i2c); struct rt5677_priv *rt5677 = i2c_get_clientdata(i2c);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册