linux/sound/usb/6fire/chip.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Linux driver for TerraTec DMX 6Fire USB
 *
 * Main routines and module definitions.
 *
 * Author:	Torsten Schenk <[email protected]>
 * Created:	Jan 01, 2011
 * Copyright:	(C) Torsten Schenk
 */

#include "chip.h"
#include "firmware.h"
#include "pcm.h"
#include "control.h"
#include "comm.h"
#include "midi.h"

#include <linux/moduleparam.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/gfp.h>
#include <sound/initval.h>

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();

static int index[SNDRV_CARDS] =; /* Index 0-max */
static char *id[SNDRV_CARDS] =; /* Id for card */
static bool enable[SNDRV_CARDS] =; /* Enable card */
static struct sfire_chip *chips[SNDRV_CARDS] =;
static struct usb_device *devices[SNDRV_CARDS] =;

module_param_array();
MODULE_PARM_DESC();
module_param_array();
MODULE_PARM_DESC();
module_param_array();
MODULE_PARM_DESC();

static DEFINE_MUTEX(register_mutex);

static void usb6fire_chip_abort(struct sfire_chip *chip)
{}

static void usb6fire_chip_destroy(struct sfire_chip *chip)
{}

static int usb6fire_chip_probe(struct usb_interface *intf,
			       const struct usb_device_id *usb_id)
{}

static void usb6fire_chip_disconnect(struct usb_interface *intf)
{}

static const struct usb_device_id device_table[] =;

MODULE_DEVICE_TABLE(usb, device_table);

static struct usb_driver usb_driver =;

module_usb_driver();