summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tea6420.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/tea6420.h')
-rw-r--r--drivers/media/video/tea6420.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/media/video/tea6420.h b/drivers/media/video/tea6420.h
new file mode 100644
index 00000000000..ea664df15ad
--- /dev/null
+++ b/drivers/media/video/tea6420.h
@@ -0,0 +1,17 @@
+#ifndef __INCLUDED_TEA6420__
+#define __INCLUDED_TEA6420__
+
+/* possible addresses */
+#define I2C_TEA6420_1 0x4c
+#define I2C_TEA6420_2 0x4d
+
+struct tea6420_multiplex
+{
+ int in; /* input of audio switch */
+ int out; /* output of audio switch */
+ int gain; /* gain of connection */
+};
+
+#define TEA6420_SWITCH _IOW('v',1,struct tea6420_multiplex)
+
+#endif