summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/cx23885/cx23885.h
diff options
context:
space:
mode:
authorOlli Salonen2014-08-11 21:58:13 +0200
committerMauro Carvalho Chehab2014-09-24 02:30:24 +0200
commitb0b12e63f999c91690f3f95bd585cf7812a251d9 (patch)
treeb1eae91fff918d865a00c08c4299afe8e541d2b4 /drivers/media/pci/cx23885/cx23885.h
parent[media] pt3: make pt3_pm_ops() static (diff)
downloadkernel-qcow2-linux-b0b12e63f999c91690f3f95bd585cf7812a251d9.tar.gz
kernel-qcow2-linux-b0b12e63f999c91690f3f95bd585cf7812a251d9.tar.xz
kernel-qcow2-linux-b0b12e63f999c91690f3f95bd585cf7812a251d9.zip
[media] cx23885: add i2c client handling into dvb_unregister and state
Prepare cx23885 driver for handling I2C client that is needed for certain demodulators and tuners (for example Si2168 and Si2157). I2C client for tuner and demod stored in state and unregistering of the I2C devices added into dvb_unregister. Signed-off-by: Olli Salonen <olli.salonen@iki.fi> Reviewed-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci/cx23885/cx23885.h')
-rw-r--r--drivers/media/pci/cx23885/cx23885.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/pci/cx23885/cx23885.h b/drivers/media/pci/cx23885/cx23885.h
index 39a89855d1d5..458d180cf96d 100644
--- a/drivers/media/pci/cx23885/cx23885.h
+++ b/drivers/media/pci/cx23885/cx23885.h
@@ -293,6 +293,9 @@ struct cx23885_tsport {
/* Workaround for a temp dvb_frontend that the tuner can attached to */
struct dvb_frontend analog_fe;
+ struct i2c_client *i2c_client_demod;
+ struct i2c_client *i2c_client_tuner;
+
int (*set_frontend)(struct dvb_frontend *fe);
};