Skip to contentSkip to conversation

ASoC: TPA6130A2: Make tpa6130a2_power as static

PATCH Applied Peter Ujfalusi 2 participants 2 messages Oct 12, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: TPA6130A2: Make tpa6130a2_power as static

The power for the amplifier should be handled internally by the tpa6130a2 driver.

---
 sound/soc/codecs/tpa6130a2.c |    2 +-
 sound/soc/codecs/tpa6130a2.h |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)
sound/soc/codecs/tpa6130a2.c +1 -1
index 0a6e7b4..6b650c1 100644
@@ -106,7 +106,7 @@ static void tpa6130a2_initialize(void)
 		tpa6130a2_i2c_write(i, data->regs[i]);
 }
 
-void tpa6130a2_power(int power)
+static void tpa6130a2_power(int power)
 {
 	struct	tpa6130a2_data *data;
 	u8	val;
sound/soc/codecs/tpa6130a2.h +0 -1
index 6a794f1..57e867f 100644
@@ -57,6 +57,5 @@
 #define TPA6130A2_VERSION_MASK		(0x0f)
 
 extern int tpa6130a2_add_controls(struct snd_soc_codec *codec);
-extern void tpa6130a2_power(int power);
 
 #endif /* __TPA6130A2_H__ */

--
1.6.5.rc2