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.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/media/dvb/frontends/mt312.h b/drivers/media/dvb/frontends/mt312.h
index cf9a1505ad4b..f17cb93ba9ba 100644
--- a/drivers/media/dvb/frontends/mt312.h
+++ b/drivers/media/dvb/frontends/mt312.h
@@ -28,22 +28,21 @@
28 28
29#include <linux/dvb/frontend.h> 29#include <linux/dvb/frontend.h>
30 30
31struct mt312_config 31struct mt312_config {
32{
33 /* the demodulator's i2c address */ 32 /* the demodulator's i2c address */
34 u8 demod_address; 33 u8 demod_address;
35}; 34};
36 35
37#if defined(CONFIG_DVB_MT312) || (defined(CONFIG_DVB_MT312_MODULE) && defined(MODULE)) 36#if defined(CONFIG_DVB_MT312) || (defined(CONFIG_DVB_MT312_MODULE) && defined(MODULE))
38struct dvb_frontend* vp310_mt312_attach(const struct mt312_config* config, 37struct dvb_frontend *vp310_mt312_attach(const struct mt312_config *config,
39 struct i2c_adapter* i2c); 38 struct i2c_adapter *i2c);
40#else 39#else
41static inline struct dvb_frontend* vp310_mt312_attach(const struct mt312_config* config, 40static inline struct dvb_frontend *vp310_mt312_attach(
42 struct i2c_adapter* i2c) 41 const struct mt312_config *config, struct i2c_adapter *i2c)
43{ 42{
44 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __FUNCTION__); 43 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __FUNCTION__);
45 return NULL; 44 return NULL;
46} 45}
47#endif // CONFIG_DVB_MT312 46#endif /* CONFIG_DVB_MT312 */
48 47
49#endif // MT312_H 48#endif /* MT312_H */