[ALSA] ad1848 - Add PM support
Modules: AD1848 driver
Add PM support to ad1848 support code.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
diff --git a/include/sound/ad1848.h b/include/sound/ad1848.h
index a038070..1a2759f 100644
--- a/include/sound/ad1848.h
+++ b/include/sound/ad1848.h
@@ -148,6 +148,11 @@
int dma_size;
int thinkpad_flag; /* Thinkpad CS4248 needs some extra help */
+#ifdef CONFIG_PM
+ void (*suspend)(struct snd_ad1848 *chip);
+ void (*resume)(struct snd_ad1848 *chip);
+#endif
+
spinlock_t reg_lock;
struct semaphore open_mutex;
};