Przeglądaj źródła

ASoC: Fix WM8961 suspend function type

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown 16 lat temu
rodzic
commit
9ea21ebca1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      sound/soc/codecs/wm8961.c

+ 1 - 1
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);
 }