diff options
Diffstat (limited to 'sound/pci/cs46xx/cs46xx_lib.c')
-rw-r--r-- | sound/pci/cs46xx/cs46xx_lib.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/cs46xx/cs46xx_lib.c b/sound/pci/cs46xx/cs46xx_lib.c index 0ec0592a6e6f..8fb275d6eb77 100644 --- a/sound/pci/cs46xx/cs46xx_lib.c +++ b/sound/pci/cs46xx/cs46xx_lib.c | |||
@@ -2747,6 +2747,7 @@ int __devinit snd_cs46xx_gameport(struct snd_cs46xx *chip) { return -ENOSYS; } | |||
2747 | static inline void snd_cs46xx_remove_gameport(struct snd_cs46xx *chip) { } | 2747 | static inline void snd_cs46xx_remove_gameport(struct snd_cs46xx *chip) { } |
2748 | #endif /* CONFIG_GAMEPORT */ | 2748 | #endif /* CONFIG_GAMEPORT */ |
2749 | 2749 | ||
2750 | #ifdef CONFIG_PROC_FS | ||
2750 | /* | 2751 | /* |
2751 | * proc interface | 2752 | * proc interface |
2752 | */ | 2753 | */ |
@@ -2800,6 +2801,10 @@ static int snd_cs46xx_proc_done(struct snd_cs46xx *chip) | |||
2800 | #endif | 2801 | #endif |
2801 | return 0; | 2802 | return 0; |
2802 | } | 2803 | } |
2804 | #else /* !CONFIG_PROC_FS */ | ||
2805 | #define snd_cs46xx_proc_init(card, chip) | ||
2806 | #define snd_cs46xx_proc_done(chip) | ||
2807 | #endif | ||
2803 | 2808 | ||
2804 | /* | 2809 | /* |
2805 | * stop the h/w | 2810 | * stop the h/w |