Commit 9d70d91c authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela
Browse files

[ALSA] ad1848 - Fix compilation without CONFIG_PM



Modules: AD1848 driver

Fix compilation without CONFIG_PM.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 403d1944
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;