diff options
author | David S. Miller <davem@davemloft.net> | 2008-10-11 15:39:35 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-11 15:39:35 -0400 |
commit | 56c5d900dbb8e042bfad035d18433476931d8f93 (patch) | |
tree | 00b793965beeef10db03e0ff021d2d965c410759 /sound/usb/usx2y/us122l.h | |
parent | 4dd95b63ae25c5cad6986829b5e8788e9faa0330 (diff) | |
parent | ead9d23d803ea3a73766c3cb27bf7563ac8d7266 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts:
sound/core/memalloc.c
Diffstat (limited to 'sound/usb/usx2y/us122l.h')
-rw-r--r-- | sound/usb/usx2y/us122l.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sound/usb/usx2y/us122l.h b/sound/usb/usx2y/us122l.h new file mode 100644 index 000000000000..3d10c4b2a0f5 --- /dev/null +++ b/sound/usb/usx2y/us122l.h | |||
@@ -0,0 +1,27 @@ | |||
1 | #ifndef US122L_H | ||
2 | #define US122L_H | ||
3 | |||
4 | |||
5 | struct us122l { | ||
6 | struct snd_usb_audio chip; | ||
7 | int stride; | ||
8 | struct usb_stream_kernel sk; | ||
9 | |||
10 | struct mutex mutex; | ||
11 | struct file *first; | ||
12 | unsigned second_periods_polled; | ||
13 | struct file *master; | ||
14 | struct file *slave; | ||
15 | |||
16 | atomic_t mmap_count; | ||
17 | }; | ||
18 | |||
19 | |||
20 | #define US122L(c) ((struct us122l *)(c)->private_data) | ||
21 | |||
22 | #define NAME_ALLCAPS "US-122L" | ||
23 | |||
24 | #define USB_ID_US122L 0x800E | ||
25 | #define USB_ID_US144 0x800F | ||
26 | |||
27 | #endif | ||