[media] dvb: make DVB frontend *_ops instances "const"
[linux-2.6-block.git] / drivers / media / dvb-frontends / s5h1411.c
index a861854981b7a52267021b0421667e1a9c2a938a..f29750a96196d2936c825f4fe6cca1bd6f2b5ff4 100644 (file)
@@ -864,7 +864,7 @@ static void s5h1411_release(struct dvb_frontend *fe)
        kfree(state);
 }
 
-static struct dvb_frontend_ops s5h1411_ops;
+static const struct dvb_frontend_ops s5h1411_ops;
 
 struct dvb_frontend *s5h1411_attach(const struct s5h1411_config *config,
                                    struct i2c_adapter *i2c)
@@ -914,7 +914,7 @@ error:
 }
 EXPORT_SYMBOL(s5h1411_attach);
 
-static struct dvb_frontend_ops s5h1411_ops = {
+static const struct dvb_frontend_ops s5h1411_ops = {
        .delsys = { SYS_ATSC, SYS_DVBC_ANNEX_B },
        .info = {
                .name                   = "Samsung S5H1411 QAM/8VSB Frontend",