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/
This archive was generated by hypermail 2b29 : Wed Aug 15 2001 - 21:00:49 EST