summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2010-02-02 16:22:10 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2010-02-02 16:22:10 -0800
commit2721fbd20844b40778090e295d7fb90abca30f51 (patch)
tree6848692fe7de36f68b938e62e41e1e596eda94ca /libc
parent34f411e5fdd39559d76e255ae3fceb07a86dad83 (diff)
parentc0472409d14eebf797df962dd78fc31afbc4bd07 (diff)
downloadbionic-2721fbd20844b40778090e295d7fb90abca30f51.zip
bionic-2721fbd20844b40778090e295d7fb90abca30f51.tar.gz
bionic-2721fbd20844b40778090e295d7fb90abca30f51.tar.bz2
am c0472409: am d0996bb4: bionic: update processed kernel header tpa2018d1.h
Merge commit 'c0472409d14eebf797df962dd78fc31afbc4bd07' * commit 'c0472409d14eebf797df962dd78fc31afbc4bd07': bionic: update processed kernel header tpa2018d1.h
Diffstat (limited to 'libc')
-rw-r--r--libc/kernel/common/linux/tpa2018d1.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libc/kernel/common/linux/tpa2018d1.h b/libc/kernel/common/linux/tpa2018d1.h
index fe06b68..4ae31fc 100644
--- a/libc/kernel/common/linux/tpa2018d1.h
+++ b/libc/kernel/common/linux/tpa2018d1.h
@@ -14,6 +14,14 @@
#include <linux/ioctl.h>
+enum tpa2018d1_mode {
+ TPA2018_MODE_OFF,
+ TPA2018_MODE_PLAYBACK,
+ TPA2018_MODE_RINGTONE,
+ TPA2018_MODE_VOICE_CALL,
+ TPA2018_NUM_MODES,
+};
+
#define TPA2018_IOCTL_MAGIC 'a'
#define TPA2018_SET_CONFIG _IOW(TPA2018_IOCTL_MAGIC, 1, unsigned)
#define TPA2018_READ_CONFIG _IOR(TPA2018_IOCTL_MAGIC, 2, unsigned)