Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4c27f1a4 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

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: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 072ce0c5
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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 */