Merge branch 'next' into for-linus
[firefly-linux-kernel-4.4.55.git] / sound / usb / 6fire / chip.h
1 /*
2  * Linux driver for TerraTec DMX 6Fire USB
3  *
4  * Author:      Torsten Schenk <torsten.schenk@zoho.com>
5  * Created:     Jan 01, 2011
6  * Version:     0.3.0
7  * Copyright:   (C) Torsten Schenk
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  */
14 #ifndef USB6FIRE_CHIP_H
15 #define USB6FIRE_CHIP_H
16
17 #include "common.h"
18
19 struct sfire_chip {
20         struct usb_device *dev;
21         struct snd_card *card;
22         int intf_count; /* number of registered interfaces */
23         int regidx; /* index in module parameter arrays */
24         bool shutdown;
25
26         struct midi_runtime *midi;
27         struct pcm_runtime *pcm;
28         struct control_runtime *control;
29         struct comm_runtime *comm;
30 };
31 #endif /* USB6FIRE_CHIP_H */
32