aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/fc2580.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2015-05-03 21:42:02 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-18 15:58:10 -0300
commit252fad1cee34d6613a44ff218d7a80fd5f4b0987 (patch)
tree47e335ab2514334b757fc49591559c933d8ec05a /drivers/media/tuners/fc2580.h
parent[media] fc2580: calculate filter control word dynamically (diff)
downloadlinux-dev-252fad1cee34d6613a44ff218d7a80fd5f4b0987.tar.xz
linux-dev-252fad1cee34d6613a44ff218d7a80fd5f4b0987.zip
[media] fc2580: implement V4L2 subdevice for SDR control
Implement V4L2 subdevice for bandwidth and frequency controls of SDR usage. That driver now implements both DVB frontend and V4L2 subdevice. Driver itself is I2C driver. Lets see how it works. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/tuners/fc2580.h')
-rw-r--r--drivers/media/tuners/fc2580.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/tuners/fc2580.h b/drivers/media/tuners/fc2580.h
index 61ee0e826cb9..862ea46995d7 100644
--- a/drivers/media/tuners/fc2580.h
+++ b/drivers/media/tuners/fc2580.h
@@ -22,6 +22,8 @@
#define FC2580_H
#include "dvb_frontend.h"
+#include <media/v4l2-subdev.h>
+#include <linux/i2c.h>
/*
* I2C address
@@ -32,10 +34,13 @@
* struct fc2580_platform_data - Platform data for the fc2580 driver
* @clk: Clock frequency (0 = internal clock).
* @dvb_frontend: DVB frontend.
+ * @get_v4l2_subdev: Get V4L2 subdev.
*/
struct fc2580_platform_data {
u32 clk;
struct dvb_frontend *dvb_frontend;
+
+ struct v4l2_subdev* (*get_v4l2_subdev)(struct i2c_client *);
};
#endif