aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-01-04 23:23:50 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-01-07 19:18:55 -0500
commit4c27f1a4da4902c70b84a8bce66f8fe909fb829b (patch)
tree2e84e9cface50b08824bbb3818c26f6937e791ae /drivers/media
parent072ce0c50983033d35c63314e2be849568f116c2 (diff)
V4L/DVB (10179): tda8290: Fix two sparse warnings
/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 <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/common/tuners/tda8290.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/common/tuners/tda8290.c b/drivers/media/common/tuners/tda8290.c
index 0ee79fd7c7a9..0e7f77f93e00 100644
--- a/drivers/media/common/tuners/tda8290.c
+++ b/drivers/media/common/tuners/tda8290.c
@@ -150,7 +150,7 @@ static void set_audio(struct dvb_frontend *fe,
150 } 150 }
151} 151}
152 152
153struct { 153static struct {
154 unsigned char seq[2]; 154 unsigned char seq[2];
155} fm_mode[] = { 155} fm_mode[] = {
156 { { 0x01, 0x81} }, /* Put device into expert mode */ 156 { { 0x01, 0x81} }, /* Put device into expert mode */
@@ -207,7 +207,6 @@ static void tda8290_set_params(struct dvb_frontend *fe,
207 msleep(1); 207 msleep(1);
208 208
209 if (params->mode == V4L2_TUNER_RADIO) { 209 if (params->mode == V4L2_TUNER_RADIO) {
210 int i;
211 unsigned char deemphasis[] = { 0x13, 1 }; 210 unsigned char deemphasis[] = { 0x13, 1 };
212 211
213 /* FIXME: allow using a different deemphasis */ 212 /* FIXME: allow using a different deemphasis */