ASoC: Fix WM8961 suspend function type
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 29 Jun 2009 15:29:06 +0000 (16:29 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 29 Jun 2009 15:34:57 +0000 (16:34 +0100)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8961.c

index 1af2d10..bd1af92 100644 (file)
@@ -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);
 }