media: cxd2820r: make arrays tab static const, makes object smaller
[sfrench/cifs-2.6.git] / drivers / media / dvb-frontends / cxd2820r_t2.c
index f924a80b968a2bfe8c45999d45c7a3782ccb7923..34ef2bb2de34afa7f37089991c2c9e05b4e1f95f 100644 (file)
@@ -386,7 +386,7 @@ int cxd2820r_sleep_t2(struct dvb_frontend *fe)
        struct cxd2820r_priv *priv = fe->demodulator_priv;
        struct i2c_client *client = priv->client[0];
        int ret;
-       struct reg_val_mask tab[] = {
+       static const struct reg_val_mask tab[] = {
                { 0x000ff, 0x1f, 0xff },
                { 0x00085, 0x00, 0xff },
                { 0x00088, 0x01, 0xff },