mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
ASoC: Fix WM8961 suspend function type
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
c2caa4da46
commit
9ea21ebca1
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user