summaryrefslogtreecommitdiff
path: root/drivers/media/common
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-08-10 03:50:37 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-12 20:01:45 +0400
commite0e52d4e9f5bce7ea887027c127473eb654a5a04 (patch)
tree22614b83af9e2c0417bfbf4542d44206c5d69817 /drivers/media/common
parentd46ddbe4bfa8715e3de3227018fbf7a283fde0ec (diff)
downloadlinux-e0e52d4e9f5bce7ea887027c127473eb654a5a04.tar.xz
[media] tda18218: silence compiler warning
Trivial fix. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common')
-rw-r--r--drivers/media/common/tuners/tda18218.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/tda18218.c b/drivers/media/common/tuners/tda18218.c
index dfb3a831df45..8a6f9ca788f0 100644
--- a/drivers/media/common/tuners/tda18218.c
+++ b/drivers/media/common/tuners/tda18218.c
@@ -282,7 +282,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[] = {