Banajit Goswami | 0530e2f | 2016-12-09 21:34:37 -0800 | [diff] [blame] | 1 | #ifndef __AUDIO_SLIMSLAVE_H__ |
2 | #define __AUDIO_SLIMSLAVE_H__ | ||||
3 | |||||
4 | #include <linux/types.h> | ||||
5 | #include <linux/ioctl.h> | ||||
6 | |||||
7 | #define AUDIO_SLIMSLAVE_IOCTL_NAME "audio_slimslave" | ||||
8 | #define AUDIO_SLIMSLAVE_MAGIC 'S' | ||||
9 | |||||
10 | #define AUDIO_SLIMSLAVE_IOCTL_UNVOTE _IO(AUDIO_SLIMSLAVE_MAGIC, 0x00) | ||||
11 | #define AUDIO_SLIMSLAVE_IOCTL_VOTE _IO(AUDIO_SLIMSLAVE_MAGIC, 0x01) | ||||
12 | |||||
13 | enum { | ||||
14 | AUDIO_SLIMSLAVE_UNVOTE, | ||||
15 | AUDIO_SLIMSLAVE_VOTE | ||||
16 | }; | ||||
17 | |||||
18 | #endif |