ocfs2: Make the left masklogs compat.
[taoma-kernel.git] / drivers / staging / line6 / toneport.h
blob8576b72636487ae0aa01e9ca8fe33af8ccfce792
1 /*
2 * Line6 Linux USB driver - 0.9.1beta
4 * Copyright (C) 2004-2010 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
15 #include <linux/usb.h>
16 #include <sound/core.h>
18 #include "driver.h"
20 struct usb_line6_toneport {
21 /**
22 Generic Line6 USB data.
24 struct usb_line6 line6;
26 /**
27 Source selector.
29 int source;
31 /**
32 Serial number of device.
34 int serial_number;
36 /**
37 Firmware version (x 100).
39 int firmware_version;
41 /**
42 Timer for delayed PCM startup.
44 struct timer_list timer;
47 extern void line6_toneport_disconnect(struct usb_interface *interface);
48 extern int line6_toneport_init(struct usb_interface *interface,
49 struct usb_line6_toneport *toneport);
50 extern void line6_toneport_reset_resume(struct usb_line6_toneport *toneport);
52 #endif