lkml.org 
[lkml]   [2001]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 2.4.8 linux/drivers/sound/esssolo1.c

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
---------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.113 / U:0.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site