aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2014-10-22 08:04:08 -0400
committerMark Brown <broonie@kernel.org>2014-10-22 11:34:50 -0400
commit2d27deb40db74c751c991e96ca91d675f966a0c5 (patch)
treefbaf76eb7c962b5fdd94d66b232367aeeb4be2a0
parent5e3363ad1b7b2e1f197a3f56b01e21cb155ad454 (diff)
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: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/rt5677.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/rt5677.c b/sound/soc/codecs/rt5677.c
index 6c73dfd22a0c..413bccbff19e 100644
--- a/sound/soc/codecs/rt5677.c
+++ b/sound/soc/codecs/rt5677.c
@@ -4014,7 +4014,7 @@ static struct regmap_irq_chip rt5677_irq_chip = {
4014 .mask_invert = 1, 4014 .mask_invert = 1,
4015}; 4015};
4016 4016
4017int rt5677_irq_init(struct i2c_client *i2c) 4017static int rt5677_irq_init(struct i2c_client *i2c)
4018{ 4018{
4019 int ret; 4019 int ret;
4020 struct rt5677_priv *rt5677 = i2c_get_clientdata(i2c); 4020 struct rt5677_priv *rt5677 = i2c_get_clientdata(i2c);
@@ -4041,7 +4041,7 @@ int rt5677_irq_init(struct i2c_client *i2c)
4041 return 0; 4041 return 0;
4042} 4042}
4043 4043
4044void rt5677_irq_exit(struct i2c_client *i2c) 4044static void rt5677_irq_exit(struct i2c_client *i2c)
4045{ 4045{
4046 struct rt5677_priv *rt5677 = i2c_get_clientdata(i2c); 4046 struct rt5677_priv *rt5677 = i2c_get_clientdata(i2c);
4047 4047