aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-11-17 10:57:48 -0500
committerJaroslav Kysela <perex@suse.cz>2006-01-03 06:28:10 -0500
commitc66d7f72569e304acc134b2561b148fe7c23c0f7 (patch)
tree5404f454238c7f3546eaa1f7d892b7c5a1b5e020 /include
parent7a8fef1f95e563a93c7d70048b63c1ca20685a1b (diff)
[ALSA] ad1848 - Add PM support
Modules: AD1848 driver Add PM support to ad1848 support code. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/sound/ad1848.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sound/ad1848.h b/include/sound/ad1848.h
index a03807088b10..1a2759f3a292 100644
--- a/include/sound/ad1848.h
+++ b/include/sound/ad1848.h
@@ -148,6 +148,11 @@ struct snd_ad1848 {
148 int dma_size; 148 int dma_size;
149 int thinkpad_flag; /* Thinkpad CS4248 needs some extra help */ 149 int thinkpad_flag; /* Thinkpad CS4248 needs some extra help */
150 150
151#ifdef CONFIG_PM
152 void (*suspend)(struct snd_ad1848 *chip);
153 void (*resume)(struct snd_ad1848 *chip);
154#endif
155
151 spinlock_t reg_lock; 156 spinlock_t reg_lock;
152 struct semaphore open_mutex; 157 struct semaphore open_mutex;
153}; 158};