Skip to content

Commit

Permalink
ASoC: Fix warning in wm9705
Browse files Browse the repository at this point in the history
I notice that the fixes were merged, minus one:

sound/soc/codecs/wm9705.c: At top level:
sound/soc/codecs/wm9705.c:445: warning: initialization from incompatible pointer type

so you might find this trivial patch useful.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Russell King - ARM Linux authored and Mark Brown committed Apr 18, 2009
1 parent b08f7a6 commit 516ef69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm9705.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ static int wm9705_reset(struct snd_soc_codec *codec)
}

#ifdef CONFIG_PM
static int wm9705_soc_suspend(struct platform_device *pdev)
static int wm9705_soc_suspend(struct platform_device *pdev, pm_message_t msg)
{
struct snd_soc_device *socdev = platform_get_drvdata(pdev);
struct snd_soc_codec *codec = socdev->card->codec;
Expand Down

0 comments on commit 516ef69

Please sign in to comment.