diff options
author | Marcin Ślusarz <marcin.slusarz@gmail.com> | 2007-12-14 06:58:45 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:29:35 -0500 |
commit | 36b9cdfea64650069d985c5999cb5c2b6f8b85fb (patch) | |
tree | 1b2982b8fccd8bacae40e5e5422190f88e693e38 | |
parent | 67c393172c00a710121d61bb7aff31b1e4f44b8d (diff) |
[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: Marcin Ślusarz <marcin.slusarz@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r-- | include/sound/info.h | 2 | ||||
-rw-r--r-- | 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 fecbb1ffd540..8ae72e74f898 100644 --- a/include/sound/info.h +++ b/include/sound/info.h | |||
@@ -100,8 +100,10 @@ int snd_info_minor_unregister(void); | |||
100 | extern struct snd_info_entry *snd_seq_root; | 100 | extern struct snd_info_entry *snd_seq_root; |
101 | #ifdef CONFIG_SND_OSSEMUL | 101 | #ifdef CONFIG_SND_OSSEMUL |
102 | extern struct snd_info_entry *snd_oss_root; | 102 | extern struct snd_info_entry *snd_oss_root; |
103 | void snd_card_info_read_oss(struct snd_info_buffer *buffer); | ||
103 | #else | 104 | #else |
104 | #define snd_oss_root NULL | 105 | #define snd_oss_root NULL |
106 | static inline void snd_card_info_read_oss(struct snd_info_buffer *buffer) {} | ||
105 | #endif | 107 | #endif |
106 | 108 | ||
107 | int snd_iprintf(struct snd_info_buffer * buffer, char *fmt,...) __attribute__ ((format (printf, 2, 3))); | 109 | 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 435c9399f7a9..9e8b8163bdd4 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) | |||
66 | 66 | ||
67 | EXPORT_SYMBOL(snd_oss_info_register); | 67 | EXPORT_SYMBOL(snd_oss_info_register); |
68 | 68 | ||
69 | extern void snd_card_info_read_oss(struct snd_info_buffer *buffer); | ||
70 | |||
71 | static int snd_sndstat_show_strings(struct snd_info_buffer *buf, char *id, int dev) | 69 | static int snd_sndstat_show_strings(struct snd_info_buffer *buf, char *id, int dev) |
72 | { | 70 | { |
73 | int idx, ok = -1; | 71 | int idx, ok = -1; |