mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Erlend Aasland <erlend-a@innova.no>
To: Jaroslav Kysela <perex@suse.cz>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] include/sound/info.h
Date: Wed, 10 Jul 2002 02:53:22 +0200	[thread overview]
Message-ID: <20020710025322.A23535@innova.no> (raw)

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

diff -urN linux-2.5.25/include/sound/info.h linux-2.5.25-dirty/include/sound/info.h
--- linux-2.5.25/include/sound/info.h	2002-07-06 01:42:18.000000000 +0200
+++ linux-2.5.25-dirty/include/sound/info.h	2002-07-10 01:56:29.000000000 +0200
@@ -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,

                 reply	other threads:[~2002-07-10  0:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020710025322.A23535@innova.no \
    --to=erlend-a@innova.no \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®