V4L/DVB (10179): tda8290: Fix two sparse warnings
[safe/jmp/linux-2.6] / drivers / media / common / tuners / tda8290.c
index 0ee79fd..0e7f77f 100644 (file)
@@ -150,7 +150,7 @@ static void set_audio(struct dvb_frontend *fe,
        }
 }
 
-struct {
+static struct {
        unsigned char seq[2];
 } fm_mode[] = {
        { { 0x01, 0x81} },      /* Put device into expert mode */
@@ -207,7 +207,6 @@ static void tda8290_set_params(struct dvb_frontend *fe,
        msleep(1);
 
        if (params->mode == V4L2_TUNER_RADIO) {
-               int i;
                unsigned char deemphasis[]  = { 0x13, 1 };
 
                /* FIXME: allow using a different deemphasis */