diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-11-22 10:19:37 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:02:39 -0500 |
commit | 71a2ee37e8851f430d72daea0722908512d57f79 (patch) | |
tree | 29c63bcd6489bba68b354ddc3ee7613869fb09db /drivers/media/video/tuner-xc2028.h | |
parent | 5add9a6f3c90680f89b4694e81025d2aed9559af (diff) |
V4L/DVB (6660): Allow fully configuring xc3028 during xc2028_attach
xc3028 can be used on some DTV only designs (for example, DVB-S boards). Before
this patch, a DTV only board would need to call set_tuner_config callback.
This patch allows to optionally pass a xc3028_ctrl parameter, via xc3028_config
struct, fully initializing the driver for DTV.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tuner-xc2028.h')
-rw-r--r-- | drivers/media/video/tuner-xc2028.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-xc2028.h b/drivers/media/video/tuner-xc2028.h index f24fb2a00f6f..a59d00fb2a36 100644 --- a/drivers/media/video/tuner-xc2028.h +++ b/drivers/media/video/tuner-xc2028.h | |||
@@ -23,6 +23,7 @@ struct xc2028_config { | |||
23 | struct i2c_adapter *i2c_adap; | 23 | struct i2c_adapter *i2c_adap; |
24 | u8 i2c_addr; | 24 | u8 i2c_addr; |
25 | void *video_dev; | 25 | void *video_dev; |
26 | struct xc2028_ctrl *ctrl; | ||
26 | int (*callback) (void *dev, int command, int arg); | 27 | int (*callback) (void *dev, int command, int arg); |
27 | }; | 28 | }; |
28 | 29 | ||