First Support on Ginger and OMAP TI
[linux-ginger.git] / drivers / staging / line6 / toneport.h
blobbddc58dd7e3aace964d12683ec1d11c4fb79147a
1 /*
2 * Line6 Linux USB driver - 0.8.0
4 * Copyright (C) 2004-2009 Markus Grabner (grabner@icg.tugraz.at)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation, version 2.
12 #ifndef TONEPORT_H
13 #define TONEPORT_H
16 #include "driver.h"
18 #include <linux/usb.h>
19 #include <sound/core.h>
22 struct usb_line6_toneport {
23 /**
24 Generic Line6 USB data.
26 struct usb_line6 line6;
28 /**
29 Serial number of device.
31 int serial_number;
33 /**
34 Firmware version (x 100).
36 int firmware_version;
40 extern void toneport_disconnect(struct usb_interface *interface);
41 extern int toneport_init(struct usb_interface *interface,
42 struct usb_line6_toneport *toneport);
45 #endif