aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ac97/ak4531_codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/ac97/ak4531_codec.c')
-rw-r--r--sound/pci/ac97/ak4531_codec.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sound/pci/ac97/ak4531_codec.c b/sound/pci/ac97/ak4531_codec.c
index 3eb885584e9a..dcfb5036ff8b 100644
--- a/sound/pci/ac97/ak4531_codec.c
+++ b/sound/pci/ac97/ak4531_codec.c
@@ -30,7 +30,11 @@ MODULE_AUTHOR("Jaroslav Kysela <perex@suse.cz>");
30MODULE_DESCRIPTION("Universal routines for AK4531 codec"); 30MODULE_DESCRIPTION("Universal routines for AK4531 codec");
31MODULE_LICENSE("GPL"); 31MODULE_LICENSE("GPL");
32 32
33#ifdef CONFIG_PROC_FS
33static void snd_ak4531_proc_init(struct snd_card *card, struct snd_ak4531 *ak4531); 34static void snd_ak4531_proc_init(struct snd_card *card, struct snd_ak4531 *ak4531);
35#else
36#define snd_ak4531_proc_init(card,ak)
37#endif
34 38
35/* 39/*
36 * 40 *
@@ -425,8 +429,9 @@ void snd_ak4531_resume(struct snd_ak4531 *ak4531)
425} 429}
426#endif 430#endif
427 431
432#ifdef CONFIG_PROC_FS
428/* 433/*
429 434 * /proc interface
430 */ 435 */
431 436
432static void snd_ak4531_proc_read(struct snd_info_entry *entry, 437static void snd_ak4531_proc_read(struct snd_info_entry *entry,
@@ -448,6 +453,7 @@ static void snd_ak4531_proc_init(struct snd_card *card, struct snd_ak4531 *ak453
448 if (! snd_card_proc_new(card, "ak4531", &entry)) 453 if (! snd_card_proc_new(card, "ak4531", &entry))
449 snd_info_set_text_ops(entry, ak4531, 1024, snd_ak4531_proc_read); 454 snd_info_set_text_ops(entry, ak4531, 1024, snd_ak4531_proc_read);
450} 455}
456#endif
451 457
452EXPORT_SYMBOL(snd_ak4531_mixer); 458EXPORT_SYMBOL(snd_ak4531_mixer);
453#ifdef CONFIG_PM 459#ifdef CONFIG_PM