diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-01-05 02:23:50 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-01-05 02:23:50 -0200 |
commit | 948232a2c38db8bd36de6fa69ec50f23fb50bcd9 (patch) | |
tree | 9b0f65b2611abe66a8de92648908931a0ba30840 | |
parent | d501f9bc006435bddc6c5a93b717f12ef47584a9 (diff) | |
download | mediapointer-dvb-s2-948232a2c38db8bd36de6fa69ec50f23fb50bcd9.tar.gz mediapointer-dvb-s2-948232a2c38db8bd36de6fa69ec50f23fb50bcd9.tar.bz2 |
tda8290: Fix two sparse warnings
From: Mauro Carvalho Chehab <mchehab@redhat.com>
/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?
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | linux/drivers/media/common/tuners/tda8290.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/common/tuners/tda8290.c b/linux/drivers/media/common/tuners/tda8290.c index 6eaaacca0..a005e89da 100644 --- a/linux/drivers/media/common/tuners/tda8290.c +++ b/linux/drivers/media/common/tuners/tda8290.c @@ -173,7 +173,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 */ @@ -230,7 +230,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 */ |