summary refs log tree commit diff
path: root/include/media/tveeprom.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-05-29 06:59:45 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-17 08:48:03 -0300
commit33001010013749886eca5b5645efd80006dd2e51 (patch)
treee9fce4f64409b50f29814a2f1add69b9584a2fcb /include/media/tveeprom.h
parent7486af1ae3ee34b12fcff1b1ce3a9cc6a2eca03a (diff)
downloadlinux-33001010013749886eca5b5645efd80006dd2e51.tar.gz
[media] tveeprom: remove v4l2-chip-ident.h include
Replace the V4L2_IDENT_* usage with tveeprom-specific defines. This header
is deprecated, so those defines shouldn't be used anymore.
The em28xx driver is the only one that uses the tveeprom audio_processor
field, so that has been updated to use the new tveeprom AUDPROC define.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/tveeprom.h')
-rw-r--r--include/media/tveeprom.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/media/tveeprom.h b/include/media/tveeprom.h
index a8ad75a9152a..4a1191abd936 100644
--- a/include/media/tveeprom.h
+++ b/include/media/tveeprom.h
@@ -1,6 +1,17 @@
 /*
  */
 
+enum tveeprom_audio_processor {
+	/* No audio processor present */
+	TVEEPROM_AUDPROC_NONE,
+	/* The audio processor is internal to the video processor */
+	TVEEPROM_AUDPROC_INTERNAL,
+	/* The audio processor is a MSPXXXX device */
+	TVEEPROM_AUDPROC_MSP,
+	/* The audio processor is another device */
+	TVEEPROM_AUDPROC_OTHER,
+};
+
 struct tveeprom {
 	u32 has_radio;
 	/* If has_ir == 0, then it is unknown what the IR capabilities are,