#include <linux/time.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <sound/core.h>
#include "au88x0.h"
#include <linux/gameport.h>
#include <linux/export.h>
#if IS_REACHABLE(CONFIG_GAMEPORT)
#define VORTEX_GAME_DWAIT …
static unsigned char vortex_game_read(struct gameport *gameport)
{ … }
static void vortex_game_trigger(struct gameport *gameport)
{ … }
static int
vortex_game_cooked_read(struct gameport *gameport, int *axes, int *buttons)
{ … }
static int vortex_game_open(struct gameport *gameport, int mode)
{ … }
static int vortex_gameport_register(vortex_t *vortex)
{ … }
static void vortex_gameport_unregister(vortex_t * vortex)
{ … }
#else
static inline int vortex_gameport_register(vortex_t * vortex) { return -ENOSYS; }
static inline void vortex_gameport_unregister(vortex_t * vortex) { }
#endif