Skip to contentSkip to conversation

include/sound/info.h

PATCH New Erlend Aasland 1 participant 1 message Jul 10, 2002 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 include/sound/info.h

Hi,

snd_info_create_module_entry() is declared with only two arguments when CONFIG_PROC_FS is not defined.

This patch should make the kernel compile for people who want sound but not procfs.

Erlend Aasland

include/sound/info.h +1 -1
diff -urN linux-2.5.25/include/sound/info.h linux-2.5.25-dirty/include/sound/info.h
@@ -151,7 +151,7 @@
 
 static inline int snd_info_get_line(snd_info_buffer_t * buffer, char *line, int len) { return 0; }
 static inline char *snd_info_get_str(char *dest, char *src, int len) { return NULL; }
-static inline snd_info_entry_t *snd_info_create_module_entry(struct module * module, const char *name) { return NULL; }
+static inline snd_info_entry_t *snd_info_create_module_entry(struct module * module, const char *name, snd_info_entry_t * parent) { return NULL; }
 static inline snd_info_entry_t *snd_info_create_card_entry(snd_card_t * card, const char *name) { return NULL; }
 static inline void snd_info_free_entry(snd_info_entry_t * entry) { ; }
 static inline snd_info_entry_t *snd_info_create_device(const char *name,