summaryrefslogtreecommitdiff
path: root/include/sound/info.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sound/info.h')
-rw-r--r--include/sound/info.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/sound/info.h b/include/sound/info.h
index 67390ee846aa..3f0ceb511bff 100644
--- a/include/sound/info.h
+++ b/include/sound/info.h
@@ -161,7 +161,9 @@ static inline void snd_info_set_text_ops(struct snd_info_entry *entry,
}
int snd_info_check_reserved_words(const char *str);
-
+struct snd_info_entry *snd_register_module_info(struct module *module,
+ const char *name,
+ struct snd_info_entry *parent);
#else
#define snd_seq_root NULL
@@ -190,7 +192,9 @@ static inline void snd_info_set_text_ops(struct snd_info_entry *entry __attribut
void *private_data,
void (*read)(struct snd_info_entry *, struct snd_info_buffer *)) {}
static inline int snd_info_check_reserved_words(const char *str) { return 1; }
-
+static inline struct snd_info_entry *snd_register_module_info(
+ struct module *module, const char *name,
+ struct snd_info_entry *parent) { return NULL; }
#endif
/*