소스 검색

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>
Peter Ujfalusi 15 년 전
부모
커밋
814b7963e5
2개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      sound/soc/codecs/tpa6130a2.c
  2. 0 1
      sound/soc/codecs/tpa6130a2.h

+ 1 - 1
sound/soc/codecs/tpa6130a2.c

@@ -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;

+ 0 - 1
sound/soc/codecs/tpa6130a2.h

@@ -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__ */