summaryrefslogtreecommitdiff
path: root/include/media/tvp7002.h
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2013-05-03 07:17:19 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-05-21 11:21:13 (GMT)
commit63eb2ca171fc5e7c11b16dccd3dc087b050b788c (patch)
tree97fe8ddfe7181c86aa9099abd5c92f0c05b1354e /include/media/tvp7002.h
parentf74368769048a803e7a7a3dac6434833f563d3bd (diff)
downloadlinux-63eb2ca171fc5e7c11b16dccd3dc087b050b788c.tar.xz
[media] media: i2c: tvp7002: enable TVP7002 decoder for media controller based usage
This patch enables tvp7002 decoder driver for media controller based usage by adding v4l2_subdev_pad_ops operations support for enum_mbus_code, set_pad_format, get_pad_format and media_entity_init() on probe and media_entity_cleanup() on remove. Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/tvp7002.h')
-rw-r--r--include/media/tvp7002.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/tvp7002.h b/include/media/tvp7002.h
index ee43534..7123048 100644
--- a/include/media/tvp7002.h
+++ b/include/media/tvp7002.h
@@ -26,6 +26,8 @@
#ifndef _TVP7002_H_
#define _TVP7002_H_
+#define TVP7002_MODULE_NAME "tvp7002"
+
/* Platform-dependent data
*
* clk_polarity: