linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 2.4.8 linux/drivers/sound/esssolo1.c
@ 2001-08-13 22:54 Adam Hynes
  0 siblings, 0 replies; only message in thread
From: Adam Hynes @ 2001-08-13 22:54 UTC (permalink / raw)
  To: linux-kernel


This patch fixes the Unresolved symbols error with esssolo1.c
kernel 2.4.8



--- linux/drivers/sound/esssolo1.c.orig	Tue Aug 14 08:36:59 2001
+++ linux/drivers/sound/esssolo1.c	Tue Aug 14 08:49:22 2001
@@ -82,6 +82,8 @@
  *    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>
+ *    14.08.2001         Patched to stop Unresolved symbols error.
+ *                       Adam Hynes <networks@consultant.com>
  */
 
 /*****************************************************************************/
@@ -106,9 +108,27 @@
 #include <linux/wrapper.h>
 #include <asm/uaccess.h>
 #include <asm/hardirq.h>
-#include <linux/gameport.h>
 
 #include "dm.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
+
+
 
 /* --------------------------------------------------------------------- */
 

---------------------------------
 Adam Hynes
 Email: networks@consultant.com
 ICQ: 37561700
---------------------------------


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-13 22:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-13 22:54 [PATCH] 2.4.8 linux/drivers/sound/esssolo1.c Adam Hynes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).