Commit c72434da authored by Jaroslav Kysela's avatar Jaroslav Kysela

[ALSA] Fix suspend/resume functions

ALSA Core
Fix the suspend/resume callback functions to follow the last change.
(This fix was missing in the last patch.)
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 61c7da99
...@@ -842,8 +842,8 @@ static int snd_generic_resume(struct device *dev, u32 level) ...@@ -842,8 +842,8 @@ static int snd_generic_resume(struct device *dev, u32 level)
* PM handler and from the control API. * PM handler and from the control API.
*/ */
int snd_card_set_generic_pm_callback(snd_card_t *card, int snd_card_set_generic_pm_callback(snd_card_t *card,
int (*suspend)(snd_card_t *, unsigned int), int (*suspend)(snd_card_t *, pm_message_t),
int (*resume)(snd_card_t *, unsigned int), int (*resume)(snd_card_t *),
void *private_data) void *private_data)
{ {
card->pm_dev = snd_generic_device_register(card); card->pm_dev = snd_generic_device_register(card);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment