diff options
Diffstat (limited to 'drivers/media/dvb/frontends/zl10353.h')
-rw-r--r-- | drivers/media/dvb/frontends/zl10353.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/zl10353.h b/drivers/media/dvb/frontends/zl10353.h index 9770cb840cfc..79a947215c4d 100644 --- a/drivers/media/dvb/frontends/zl10353.h +++ b/drivers/media/dvb/frontends/zl10353.h | |||
@@ -31,11 +31,21 @@ struct zl10353_config | |||
31 | 31 | ||
32 | /* set if no pll is connected to the secondary i2c bus */ | 32 | /* set if no pll is connected to the secondary i2c bus */ |
33 | int no_tuner; | 33 | int no_tuner; |
34 | |||
35 | /* set if parallel ts output is required */ | ||
36 | int parallel_ts; | ||
34 | }; | 37 | }; |
35 | 38 | ||
39 | #if defined(CONFIG_DVB_ZL10353) || defined(CONFIG_DVB_ZL10353_MODULE) | ||
36 | extern struct dvb_frontend* zl10353_attach(const struct zl10353_config *config, | 40 | extern struct dvb_frontend* zl10353_attach(const struct zl10353_config *config, |
37 | struct i2c_adapter *i2c); | 41 | struct i2c_adapter *i2c); |
38 | 42 | #else | |
39 | extern int zl10353_write(struct dvb_frontend *fe, u8 *ibuf, int ilen); | 43 | static inline struct dvb_frontend* zl10353_attach(const struct zl10353_config *config, |
44 | struct i2c_adapter *i2c) | ||
45 | { | ||
46 | printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __FUNCTION__); | ||
47 | return NULL; | ||
48 | } | ||
49 | #endif // CONFIG_DVB_ZL10353 | ||
40 | 50 | ||
41 | #endif /* ZL10353_H */ | 51 | #endif /* ZL10353_H */ |