summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorJason Liu <r64343@freescale.com>2011-12-19 20:39:18 +0800
committerJason Liu <r64343@freescale.com>2012-01-09 21:10:22 +0800
commitcb9befd1dc08d064c809bacd319e3121738ae1bc (patch)
tree46edd8ae4c8c3b7f48557dc65161208261688865 /sound
parente97e30a30150bc59d03013415dec96f7f739ff7e (diff)
fix the building warnings
Signed-off-by: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/sgtl5000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c
index 8a4230949b4b..98e9c13a7615 100644
--- a/sound/soc/codecs/sgtl5000.c
+++ b/sound/soc/codecs/sgtl5000.c
@@ -1200,7 +1200,7 @@ static struct snd_soc_dai_driver sgtl5000_dai = {
.symmetric_rates = 1,
};
-static int sgtl5000_volatile_register(unsigned int reg)
+static int sgtl5000_volatile_register(struct snd_soc_codec *codec, unsigned int reg)
{
switch (reg) {
case SGTL5000_CHIP_ID: