aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>2009-10-12 04:43:55 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-10-12 08:40:54 -0400
commit814b7963e50e331f129acc25ad92bd4db45c300f (patch)
tree36a4f749d65d2cfe6b361e6465c56f07e1466f7d
parentebab1b1d07266ab8ca9f65065e68b02f05504c4e (diff)
ASoC: TPA6130A2: Make tpa6130a2_power as static
The power for the amplifier should be handled internally by the tpa6130a2 driver. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--sound/soc/codecs/tpa6130a2.c2
-rw-r--r--sound/soc/codecs/tpa6130a2.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/tpa6130a2.c b/sound/soc/codecs/tpa6130a2.c
index 0a6e7b4ace60..6b650c1aa3d1 100644
--- a/sound/soc/codecs/tpa6130a2.c
+++ b/sound/soc/codecs/tpa6130a2.c
@@ -106,7 +106,7 @@ static void tpa6130a2_initialize(void)
106 tpa6130a2_i2c_write(i, data->regs[i]); 106 tpa6130a2_i2c_write(i, data->regs[i]);
107} 107}
108 108
109void tpa6130a2_power(int power) 109static void tpa6130a2_power(int power)
110{ 110{
111 struct tpa6130a2_data *data; 111 struct tpa6130a2_data *data;
112 u8 val; 112 u8 val;
diff --git a/sound/soc/codecs/tpa6130a2.h b/sound/soc/codecs/tpa6130a2.h
index 6a794f16cee9..57e867fd86d1 100644
--- a/sound/soc/codecs/tpa6130a2.h
+++ b/sound/soc/codecs/tpa6130a2.h
@@ -57,6 +57,5 @@
57#define TPA6130A2_VERSION_MASK (0x0f) 57#define TPA6130A2_VERSION_MASK (0x0f)
58 58
59extern int tpa6130a2_add_controls(struct snd_soc_codec *codec); 59extern int tpa6130a2_add_controls(struct snd_soc_codec *codec);
60extern void tpa6130a2_power(int power);
61 60
62#endif /* __TPA6130A2_H__ */ 61#endif /* __TPA6130A2_H__ */