ASoC: TPA6130A2: Make tpa6130a2_power as static
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Mon, 12 Oct 2009 08:43:55 +0000 (11:43 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 12 Oct 2009 12:40:54 +0000 (13:40 +0100)
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>
sound/soc/codecs/tpa6130a2.c
sound/soc/codecs/tpa6130a2.h

index 0a6e7b4ace601a8a83ce02c701c4c6a74ec57265..6b650c1aa3d1feba709009736bc84017f687911a 100644 (file)
@@ -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;
index 6a794f16cee9d9f081e81c5c58482b10e4356cc1..57e867fd86d18040532085ae1c364329de3b9609 100644 (file)
@@ -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__ */