aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/mt312.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/mt312.h')
-rw-r--r--drivers/media/dvb/frontends/mt312.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/mt312.h b/drivers/media/dvb/frontends/mt312.h
index f17cb93ba9ba..96338f0c4dd4 100644
--- a/drivers/media/dvb/frontends/mt312.h
+++ b/drivers/media/dvb/frontends/mt312.h
@@ -31,6 +31,9 @@
31struct mt312_config { 31struct mt312_config {
32 /* the demodulator's i2c address */ 32 /* the demodulator's i2c address */
33 u8 demod_address; 33 u8 demod_address;
34
35 /* inverted voltage setting */
36 int voltage_inverted:1;
34}; 37};
35 38
36#if defined(CONFIG_DVB_MT312) || (defined(CONFIG_DVB_MT312_MODULE) && defined(MODULE)) 39#if defined(CONFIG_DVB_MT312) || (defined(CONFIG_DVB_MT312_MODULE) && defined(MODULE))
@@ -40,7 +43,7 @@ struct dvb_frontend *vp310_mt312_attach(const struct mt312_config *config,
40static inline struct dvb_frontend *vp310_mt312_attach( 43static inline struct dvb_frontend *vp310_mt312_attach(
41 const struct mt312_config *config, struct i2c_adapter *i2c) 44 const struct mt312_config *config, struct i2c_adapter *i2c)
42{ 45{
43 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __FUNCTION__); 46 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
44 return NULL; 47 return NULL;
45} 48}
46#endif /* CONFIG_DVB_MT312 */ 49#endif /* CONFIG_DVB_MT312 */