Commit 814b7963 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Mark Brown

ASoC: TPA6130A2: Make tpa6130a2_power as static

The power for the amplifier should be handled internally
by the tpa6130a2 driver.
Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent ebab1b1d
...@@ -106,7 +106,7 @@ static void tpa6130a2_initialize(void) ...@@ -106,7 +106,7 @@ static void tpa6130a2_initialize(void)
tpa6130a2_i2c_write(i, data->regs[i]); tpa6130a2_i2c_write(i, data->regs[i]);
} }
void tpa6130a2_power(int power) static void tpa6130a2_power(int power)
{ {
struct tpa6130a2_data *data; struct tpa6130a2_data *data;
u8 val; u8 val;
......
...@@ -57,6 +57,5 @@ ...@@ -57,6 +57,5 @@
#define TPA6130A2_VERSION_MASK (0x0f) #define TPA6130A2_VERSION_MASK (0x0f)
extern int tpa6130a2_add_controls(struct snd_soc_codec *codec); extern int tpa6130a2_add_controls(struct snd_soc_codec *codec);
extern void tpa6130a2_power(int power);
#endif /* __TPA6130A2_H__ */ #endif /* __TPA6130A2_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment