Skip to content

Commit

Permalink
V4L/DVB (10179): tda8290: Fix two sparse warnings
Browse files Browse the repository at this point in the history
/home/v4l/master/v4l/tda8290.c:233:7: warning: symbol 'i' shadows an earlier one
/home/v4l/master/v4l/tda8290.c:178:3: warning: symbol 'fm_mode' was not declared. Should it be static?

Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
Mauro Carvalho Chehab committed Jan 8, 2009
1 parent 072ce0c commit 4c27f1a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/media/common/tuners/tda8290.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit 4c27f1a

Please sign in to comment.