tda18218: silence compiler warning

commit e0e52d4e9f upstream.

Trivial fix.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Antti Palosaari
2012-08-09 20:50:37 -03:00
committed by Ben Hutchings
parent 3e730c7057
commit 3e7f972470

View File

@ -274,7 +274,7 @@ struct dvb_frontend *tda18218_attach(struct dvb_frontend *fe,
struct i2c_adapter *i2c, struct tda18218_config *cfg)
{
struct tda18218_priv *priv = NULL;
u8 val;
u8 uninitialized_var(val);
int ret;
/* chip default registers values */
static u8 def_regs[] = {