aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/seq/seq_timer.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-12-01 04:43:51 -0500
committerJaroslav Kysela <perex@suse.cz>2006-01-03 06:30:05 -0500
commit04f141a8800d022981f0405a8d307c98aba55105 (patch)
tree2083ebe4a2959d57db1c016f1b8fa396e5c3f2af /sound/core/seq/seq_timer.c
parente28563cceb9f258ebe3c50fc27d8f4ff0ac4bfa4 (diff)
[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_timer.c')
-rw-r--r--sound/core/seq/seq_timer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/core/seq/seq_timer.c b/sound/core/seq/seq_timer.c
index a1d8bfd60ae9..b4b9a132cb16 100644
--- a/sound/core/seq/seq_timer.c
+++ b/sound/core/seq/seq_timer.c
@@ -425,6 +425,7 @@ snd_seq_tick_time_t snd_seq_timer_get_cur_tick(struct snd_seq_timer *tmr)
425} 425}
426 426
427 427
428#ifdef CONFIG_PROC_FS
428/* exported to seq_info.c */ 429/* exported to seq_info.c */
429void snd_seq_info_timer_read(struct snd_info_entry *entry, 430void snd_seq_info_timer_read(struct snd_info_entry *entry,
430 struct snd_info_buffer *buffer) 431 struct snd_info_buffer *buffer)
@@ -451,3 +452,5 @@ void snd_seq_info_timer_read(struct snd_info_entry *entry,
451 queuefree(q); 452 queuefree(q);
452 } 453 }
453} 454}
455#endif /* CONFIG_PROC_FS */
456