Commit 36b9cdfe authored by Marcin Ślusarz's avatar Marcin Ślusarz Committed by Jaroslav Kysela

[ALSA] 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
Signed-off-by: default avatarMarcin Ślusarz <marcin.slusarz@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
parent 67c39317
...@@ -100,8 +100,10 @@ int snd_info_minor_unregister(void); ...@@ -100,8 +100,10 @@ int snd_info_minor_unregister(void);
extern struct snd_info_entry *snd_seq_root; extern struct snd_info_entry *snd_seq_root;
#ifdef CONFIG_SND_OSSEMUL #ifdef CONFIG_SND_OSSEMUL
extern struct snd_info_entry *snd_oss_root; extern struct snd_info_entry *snd_oss_root;
void snd_card_info_read_oss(struct snd_info_buffer *buffer);
#else #else
#define snd_oss_root NULL #define snd_oss_root NULL
static inline void snd_card_info_read_oss(struct snd_info_buffer *buffer) {}
#endif #endif
int snd_iprintf(struct snd_info_buffer * buffer, char *fmt,...) __attribute__ ((format (printf, 2, 3))); int snd_iprintf(struct snd_info_buffer * buffer, char *fmt,...) __attribute__ ((format (printf, 2, 3)));
......
...@@ -66,8 +66,6 @@ int snd_oss_info_register(int dev, int num, char *string) ...@@ -66,8 +66,6 @@ int snd_oss_info_register(int dev, int num, char *string)
EXPORT_SYMBOL(snd_oss_info_register); 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) static int snd_sndstat_show_strings(struct snd_info_buffer *buf, char *id, int dev)
{ {
int idx, ok = -1; int idx, ok = -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment