aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common/tuners/xc5000.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/common/tuners/xc5000.h')
-rw-r--r--drivers/media/common/tuners/xc5000.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/common/tuners/xc5000.h b/drivers/media/common/tuners/xc5000.h
index e6d7236c9ea1..3756e73649be 100644
--- a/drivers/media/common/tuners/xc5000.h
+++ b/drivers/media/common/tuners/xc5000.h
@@ -53,11 +53,11 @@ struct xc5000_config {
53 (defined(CONFIG_MEDIA_TUNER_XC5000_MODULE) && defined(MODULE)) 53 (defined(CONFIG_MEDIA_TUNER_XC5000_MODULE) && defined(MODULE))
54extern struct dvb_frontend *xc5000_attach(struct dvb_frontend *fe, 54extern struct dvb_frontend *xc5000_attach(struct dvb_frontend *fe,
55 struct i2c_adapter *i2c, 55 struct i2c_adapter *i2c,
56 struct xc5000_config *cfg); 56 const struct xc5000_config *cfg);
57#else 57#else
58static inline struct dvb_frontend *xc5000_attach(struct dvb_frontend *fe, 58static inline struct dvb_frontend *xc5000_attach(struct dvb_frontend *fe,
59 struct i2c_adapter *i2c, 59 struct i2c_adapter *i2c,
60 struct xc5000_config *cfg) 60 const struct xc5000_config *cfg)
61{ 61{
62 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 62 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
63 return NULL; 63 return NULL;