From 36b9cdfea64650069d985c5999cb5c2b6f8b85fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marcin=20=C5=9Alusarz?= Date: Fri, 14 Dec 2007 12:58:45 +0100 Subject: [PATCH] [ALSA] info_oss: move prototype of snd_card_info_read_oss to info.h MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit info_oss: move prototype of snd_card_info_read_oss to info.h Signed-off-by: Marcin Ślusarz Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- include/sound/info.h | 2 ++ sound/core/info_oss.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sound/info.h b/include/sound/info.h index fecbb1ffd5..8ae72e74f8 100644 --- a/include/sound/info.h +++ b/include/sound/info.h @@ -100,8 +100,10 @@ int snd_info_minor_unregister(void); extern struct snd_info_entry *snd_seq_root; #ifdef CONFIG_SND_OSSEMUL extern struct snd_info_entry *snd_oss_root; +void snd_card_info_read_oss(struct snd_info_buffer *buffer); #else #define snd_oss_root NULL +static inline void snd_card_info_read_oss(struct snd_info_buffer *buffer) {} #endif int snd_iprintf(struct snd_info_buffer * buffer, char *fmt,...) __attribute__ ((format (printf, 2, 3))); diff --git a/sound/core/info_oss.c b/sound/core/info_oss.c index 435c9399f7..9e8b8163bd 100644 --- a/sound/core/info_oss.c +++ b/sound/core/info_oss.c @@ -66,8 +66,6 @@ int snd_oss_info_register(int dev, int num, char *string) EXPORT_SYMBOL(snd_oss_info_register); -extern void snd_card_info_read_oss(struct snd_info_buffer *buffer); - static int snd_sndstat_show_strings(struct snd_info_buffer *buf, char *id, int dev) { int idx, ok = -1; -- 2.39.5