All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Bauer <akbauer@gmx.de>
To: t.sailer@alumni.ethz.ch
Cc: linux-kernel@vger.kernel.org
Subject: Linux 2.4.7 -- drivers/sound/esssolo1.c glitch?!
Date: Sat, 28 Jul 2001 17:18:51 +0200	[thread overview]
Message-ID: <01072817185200.01301@zaphod> (raw)

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

Hello Thomas, (and kernel list)

when I tried to compile 2.4.7 today with support for my ESS Techn. ES 1988 
Allegro-1 sound card, the linker came up with a few errors concerning 
undefined function references in sounddrivers.o.

Therefore I modified your file drivers/sound/esssolo1.c slightly in order to 
resolve these reference problems. Please find my modifications as attachment 
to this e-mail. It's only a few lines and I hope you as well as others 
consider them a useful contribution anyway.

I'd be grateful to hear some feedback on this.

Thank you very much,

- Andreas

[-- Attachment #2: esssolo_patch --]
[-- Type: text/x-c, Size: 1051 bytes --]

--- esssolo1.ORIGINAL	Sat Jul 28 16:16:47 2001
+++ esssolo1.c	Sat Jul 28 16:20:24 2001
@@ -82,6 +82,9 @@
  *    22.05.2001   0.19  more cleanups, changed PM to PCI 2.4 style, got rid
  *                       of global list of devices, using pci device data.
  *                       Marcus Meissner <mm@caldera.de>
+ *    28.07.2001   0.20  Added definitions for external functions
+ *                       gameport_register_port, gameport_unregister_port
+ *                       Andreas Bauer <baueran@in.tum.de>
  */
 
 /*****************************************************************************/
@@ -106,7 +109,21 @@
 #include <linux/wrapper.h>
 #include <asm/uaccess.h>
 #include <asm/hardirq.h>
+
+#if defined(CONFIG_INPUT_ANALOG) || defined(CONFIG_INPUT_ANALOG_MODULE)
 #include <linux/gameport.h>
+#else
+struct gameport {
+	int io;
+	int size;
+};
+ 
+extern inline void gameport_register_port(struct gameport *gameport) {
+}
+ 
+extern inline void gameport_unregister_port(struct gameport *gameport) {
+}
+#endif
 
 #include "dm.h"
 

                 reply	other threads:[~2001-07-28 15:47 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=01072817185200.01301@zaphod \
    --to=akbauer@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=t.sailer@alumni.ethz.ch \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.