aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/drxk.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/drxk.h')
-rw-r--r--drivers/media/dvb/frontends/drxk.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/drxk.h b/drivers/media/dvb/frontends/drxk.h
index 58baf419560c..020981844a86 100644
--- a/drivers/media/dvb/frontends/drxk.h
+++ b/drivers/media/dvb/frontends/drxk.h
@@ -8,6 +8,8 @@
8 * struct drxk_config - Configure the initial parameters for DRX-K 8 * struct drxk_config - Configure the initial parameters for DRX-K
9 * 9 *
10 * adr: I2C Address of the DRX-K 10 * adr: I2C Address of the DRX-K
11 * parallel_ts: true means that the device uses parallel TS,
12 * Serial otherwise.
11 * single_master: Device is on the single master mode 13 * single_master: Device is on the single master mode
12 * no_i2c_bridge: Don't switch the I2C bridge to talk with tuner 14 * no_i2c_bridge: Don't switch the I2C bridge to talk with tuner
13 * antenna_gpio: GPIO bit used to control the antenna 15 * antenna_gpio: GPIO bit used to control the antenna
@@ -22,22 +24,23 @@ struct drxk_config {
22 u8 adr; 24 u8 adr;
23 bool single_master; 25 bool single_master;
24 bool no_i2c_bridge; 26 bool no_i2c_bridge;
27 bool parallel_ts;
25 28
26 bool antenna_dvbt; 29 bool antenna_dvbt;
27 u16 antenna_gpio; 30 u16 antenna_gpio;
28 31
32 int chunk_size;
33
29 const char *microcode_name; 34 const char *microcode_name;
30}; 35};
31 36
32#if defined(CONFIG_DVB_DRXK) || (defined(CONFIG_DVB_DRXK_MODULE) \ 37#if defined(CONFIG_DVB_DRXK) || (defined(CONFIG_DVB_DRXK_MODULE) \
33 && defined(MODULE)) 38 && defined(MODULE))
34extern struct dvb_frontend *drxk_attach(const struct drxk_config *config, 39extern struct dvb_frontend *drxk_attach(const struct drxk_config *config,
35 struct i2c_adapter *i2c, 40 struct i2c_adapter *i2c);
36 struct dvb_frontend **fe_t);
37#else 41#else
38static inline struct dvb_frontend *drxk_attach(const struct drxk_config *config, 42static inline struct dvb_frontend *drxk_attach(const struct drxk_config *config,
39 struct i2c_adapter *i2c, 43 struct i2c_adapter *i2c)
40 struct dvb_frontend **fe_t)
41{ 44{
42 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 45 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
43 return NULL; 46 return NULL;