#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/usb.h>
#include <linux/wait.h>
#include <linux/module.h>
#include <sound/core.h>
#include "driver.h"
#define VARIAX_STARTUP_DELAY1 …
#define VARIAX_STARTUP_DELAY3 …
#define VARIAX_STARTUP_DELAY4 …
enum { … };
enum { … };
struct usb_line6_variax { … };
#define line6_to_variax(x) …
#define VARIAX_OFFSET_ACTIVATE …
static const char variax_init_version[] = …;
static const char variax_init_done[] = …;
static const char variax_activate[] = …;
static void variax_activate_async(struct usb_line6_variax *variax, int a)
{ … }
static void variax_startup(struct usb_line6 *line6)
{ … }
static void line6_variax_process_message(struct usb_line6 *line6)
{ … }
static void line6_variax_disconnect(struct usb_line6 *line6)
{ … }
static int variax_init(struct usb_line6 *line6,
const struct usb_device_id *id)
{ … }
#define LINE6_DEVICE(prod) …
#define LINE6_IF_NUM(prod, n) …
static const struct usb_device_id variax_id_table[] = …;
MODULE_DEVICE_TABLE(usb, variax_id_table);
static const struct line6_properties variax_properties_table[] = …;
static int variax_probe(struct usb_interface *interface,
const struct usb_device_id *id)
{ … }
static struct usb_driver variax_driver = …;
module_usb_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;