rt5631: Fix compilation warning
author邱建斌 <qjb@rock-chips.com>
Wed, 26 Dec 2012 09:34:43 +0000 (17:34 +0800)
committer邱建斌 <qjb@rock-chips.com>
Wed, 26 Dec 2012 09:35:41 +0000 (17:35 +0800)
sound/soc/codecs/rt5631.c: In function 'rt5631_probe':
sound/soc/codecs/rt5631.c:2008: error: assignment from incompatible pointer type

sound/soc/codecs/rt5631.c

index e1d59b76ede92664a0568721cf6b249bf7e0dafe..2536f86e3cbe9395d02c032a6cbd9c73b0429868 100755 (executable)
@@ -277,7 +277,7 @@ static int rt5631_reg_init(struct snd_soc_codec *codec)
        return 0;
 }
 //bard 7-16 s
-void rt5631_adc_on(void)
+void rt5631_adc_on(struct work_struct *work)
 {
        int val;