From: Mark Brown Date: Mon, 29 Jun 2009 15:29:06 +0000 (+0100) Subject: ASoC: Fix WM8961 suspend function type X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9ea21ebca1a1c4caf3bdaecb0879034107cac1e9;p=openwrt%2Fstaging%2Fblogic.git ASoC: Fix WM8961 suspend function type Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm8961.c b/sound/soc/codecs/wm8961.c index 1af2d10702f4..bd1af92a122f 100644 --- a/sound/soc/codecs/wm8961.c +++ b/sound/soc/codecs/wm8961.c @@ -1268,7 +1268,7 @@ static __devexit int wm8961_i2c_remove(struct i2c_client *client) } #ifdef CONFIG_PM -static int wm8961_i2c_suspend(struct i2c_client *client) +static int wm8961_i2c_suspend(struct i2c_client *client, pm_message_t state) { return snd_soc_suspend_device(&client->dev); }