Skip to content

Commit

Permalink
[ALSA] ad1848 - Fix compilation without CONFIG_PM
Browse files Browse the repository at this point in the history
Modules: AD1848 driver

Fix compilation without CONFIG_PM.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jan 3, 2006
1 parent 403d194 commit 9d70d91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/isa/ad1848/ad1848_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -932,8 +932,10 @@ int snd_ad1848_create(struct snd_card *card,
return err;
}

#ifdef CONFIG_PM
chip->suspend = snd_ad1848_suspend;
chip->resume = snd_ad1848_resume;
#endif

*rchip = chip;
return 0;
Expand Down

0 comments on commit 9d70d91

Please sign in to comment.