--- 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"