Skip to contentSkip to conversation

info_oss: move prototype of snd_card_info_read_oss to info.h

PATCH New Marcin Ślusarz 1 participant 1 message Dec 8, 2007 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 info_oss: move prototype of snd_card_info_read_oss to info.h

info_oss: move prototype of snd_card_info_read_oss to info.h

---
 include/sound/info.h  |    2 ++
 sound/core/info_oss.c |    2 --
 2 files changed, 2 insertions(+), 2 deletions(-)
include/sound/info.h +2 -0
index fecbb1f..8ae72e7 100644
@@ -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)));
sound/core/info_oss.c +0 -2
index 435c939..9e8b816 100644
@@ -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;