diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2013-05-03 11:17:19 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-05-21 15:21:13 +0400 |
commit | 63eb2ca171fc5e7c11b16dccd3dc087b050b788c (patch) | |
tree | 97fe8ddfe7181c86aa9099abd5c92f0c05b1354e /include/media/tvp7002.h | |
parent | f74368769048a803e7a7a3dac6434833f563d3bd (diff) | |
download | linux-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/tvp7002.h b/include/media/tvp7002.h index ee4353459ef5..7123048408d6 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: |