summaryrefslogtreecommitdiff
path: root/drivers/media/common
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-08-09 20:50:35 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-12 12:38:52 -0300
commite666a44fa313cb9329c0381ad02fc6ee1e21cb31 (patch)
tree56d2944c9e744affb722b31fe30a21e313f3c5f8 /drivers/media/common
parente1d45ae10aea8e8a403e5d96bf5902ee670007ff (diff)
[media] tda18212: 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/tda18212.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/tda18212.c b/drivers/media/common/tuners/tda18212.c
index 602c2e392b17..a14e8b6ef91c 100644
--- a/drivers/media/common/tuners/tda18212.c
+++ b/drivers/media/common/tuners/tda18212.c
@@ -287,7 +287,7 @@ struct dvb_frontend *tda18212_attach(struct dvb_frontend *fe,
{
struct tda18212_priv *priv = NULL;
int ret;
- u8 val;
+ u8 uninitialized_var(val);
priv = kzalloc(sizeof(struct tda18212_priv), GFP_KERNEL);
if (priv == NULL)