diff options
Diffstat (limited to 'drivers/media/common')
-rw-r--r-- | drivers/media/common/tuners/xc5000.c | 2 | ||||
-rw-r--r-- | drivers/media/common/tuners/xc5000.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/common/tuners/xc5000.c b/drivers/media/common/tuners/xc5000.c index d2b2c12a5561..76ac5cd84af7 100644 --- a/drivers/media/common/tuners/xc5000.c +++ b/drivers/media/common/tuners/xc5000.c | |||
@@ -1042,7 +1042,7 @@ static const struct dvb_tuner_ops xc5000_tuner_ops = { | |||
1042 | 1042 | ||
1043 | struct dvb_frontend *xc5000_attach(struct dvb_frontend *fe, | 1043 | struct dvb_frontend *xc5000_attach(struct dvb_frontend *fe, |
1044 | struct i2c_adapter *i2c, | 1044 | struct i2c_adapter *i2c, |
1045 | struct xc5000_config *cfg) | 1045 | const struct xc5000_config *cfg) |
1046 | { | 1046 | { |
1047 | struct xc5000_priv *priv = NULL; | 1047 | struct xc5000_priv *priv = NULL; |
1048 | int instance; | 1048 | int instance; |
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)) |
54 | extern struct dvb_frontend *xc5000_attach(struct dvb_frontend *fe, | 54 | extern 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 |
58 | static inline struct dvb_frontend *xc5000_attach(struct dvb_frontend *fe, | 58 | static 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; |