]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
asoc: codecs: function definition should match prototype
authorPhilip Rakity <prakity@nvidia.com>
Wed, 25 Sep 2013 11:31:41 +0000 (12:31 +0100)
committerAjay Nandakumar <anandakumarm@nvidia.com>
Thu, 3 Oct 2013 13:47:47 +0000 (19:17 +0530)
/nvidia/DEV_KERNEL/kernel/sound/soc/codecs/rt5639.c:2426:2:
warning: initialization from incompatible pointer type [enabled by default]
/nvidia/DEV_KERNEL/kernel/sound/soc/codecs/rt5639.c:2426:2:
warning: (near initialization for 'soc_codec_dev_rt5639.suspend') [enabled by default]

Change-Id: I77c3f801b00c186673ebe5870cb2c074f7404bf5
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/278878
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 2e4dc9c352517881e1f6aceaba845c7c4b407387)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
sound/soc/codecs/rt5639.c

index d977d9bf55db0d435a416a21bce8854a13990fc2..4b7b51fd1c8be0276fe8b0308a09f77c24288e8d 100644 (file)
@@ -2341,7 +2341,7 @@ static int rt5639_remove(struct snd_soc_codec *codec)
 }
 
 #ifdef CONFIG_PM
-static int rt5639_suspend(struct snd_soc_codec *codec, pm_message_t state)
+static int rt5639_suspend(struct snd_soc_codec *codec)
 {
        rt5639_reset(codec);
        rt5639_set_bias_level(codec, SND_SOC_BIAS_OFF);