diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-12-01 10:43:51 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 12:30:05 +0100 |
commit | 04f141a8800d022981f0405a8d307c98aba55105 (patch) | |
tree | 2083ebe4a2959d57db1c016f1b8fa396e5c3f2af /sound/core/seq/seq_info.h | |
parent | e28563cceb9f258ebe3c50fc27d8f4ff0ac4bfa4 (diff) | |
download | kernel_samsung_aries-04f141a8800d022981f0405a8d307c98aba55105.zip kernel_samsung_aries-04f141a8800d022981f0405a8d307c98aba55105.tar.gz kernel_samsung_aries-04f141a8800d022981f0405a8d307c98aba55105.tar.bz2 |
[ALSA] Optimize for config without PROC_FS (seq and oss parts)
Modules: ALSA<-OSS emulation,ALSA sequencer,ALSA<-OSS sequencer
Optimize the code when compiled without CONFIG_PROC_FS (in seq and oss
emulation parts).
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/seq/seq_info.h')
-rw-r--r-- | sound/core/seq/seq_info.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/core/seq/seq_info.h b/sound/core/seq/seq_info.h index 5a91ebc..4892a7f 100644 --- a/sound/core/seq/seq_info.h +++ b/sound/core/seq/seq_info.h @@ -29,8 +29,12 @@ void snd_seq_info_timer_read(struct snd_info_entry *entry, struct snd_info_buffe void snd_seq_info_queues_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer); +#ifdef CONFIG_PROC_FS int snd_seq_info_init( void ); int snd_seq_info_done( void ); - +#else +static inline int snd_seq_info_init(void) { return 0; } +static inline int snd_seq_info_done(void) { return 0; } +#endif #endif |