diff options
author | Antti Palosaari <crope@iki.fi> | 2015-05-04 03:42:02 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-05-18 21:58:10 +0300 |
commit | 252fad1cee34d6613a44ff218d7a80fd5f4b0987 (patch) | |
tree | 47e335ab2514334b757fc49591559c933d8ec05a /drivers/media/tuners/fc2580.h | |
parent | 8b302d43e84dc863729010a1ea9a5a2bc83d25de (diff) | |
download | linux-252fad1cee34d6613a44ff218d7a80fd5f4b0987.tar.xz |
[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.h | 5 |
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 |