diff options
Diffstat (limited to 'drivers/media/dvb/frontends/dib0070.h')
-rw-r--r-- | drivers/media/dvb/frontends/dib0070.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/dib0070.h b/drivers/media/dvb/frontends/dib0070.h index 3eedfdf505bc..21f2c5161af4 100644 --- a/drivers/media/dvb/frontends/dib0070.h +++ b/drivers/media/dvb/frontends/dib0070.h | |||
@@ -41,6 +41,7 @@ struct dib0070_config { | |||
41 | extern struct dvb_frontend *dib0070_attach(struct dvb_frontend *fe, | 41 | extern struct dvb_frontend *dib0070_attach(struct dvb_frontend *fe, |
42 | struct i2c_adapter *i2c, | 42 | struct i2c_adapter *i2c, |
43 | struct dib0070_config *cfg); | 43 | struct dib0070_config *cfg); |
44 | extern u16 dib0070_wbd_offset(struct dvb_frontend *); | ||
44 | #else | 45 | #else |
45 | static inline struct dvb_frontend *dib0070_attach(struct dvb_frontend *fe, | 46 | static inline struct dvb_frontend *dib0070_attach(struct dvb_frontend *fe, |
46 | struct i2c_adapter *i2c, | 47 | struct i2c_adapter *i2c, |
@@ -49,9 +50,14 @@ static inline struct dvb_frontend *dib0070_attach(struct dvb_frontend *fe, | |||
49 | printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); | 50 | printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); |
50 | return NULL; | 51 | return NULL; |
51 | } | 52 | } |
53 | |||
54 | static inline u16 dib0070_wbd_offset(struct dvb_frontend *fe) | ||
55 | { | ||
56 | printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); | ||
57 | return -ENODEV; | ||
58 | } | ||
52 | #endif | 59 | #endif |
53 | 60 | ||
54 | extern void dib0070_ctrl_agc_filter(struct dvb_frontend *, uint8_t open); | 61 | extern void dib0070_ctrl_agc_filter(struct dvb_frontend *, uint8_t open); |
55 | extern u16 dib0070_wbd_offset(struct dvb_frontend *); | ||
56 | 62 | ||
57 | #endif | 63 | #endif |