Skip to content

Commit

Permalink
ASoC: TPA6130A2: Make tpa6130a2_power as static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Ujfalusi authored and Mark Brown committed Oct 12, 2009
1 parent ebab1b1 commit 814b796
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion sound/soc/codecs/tpa6130a2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion sound/soc/codecs/tpa6130a2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__ */

0 comments on commit 814b796

Please sign in to comment.