summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-08-10 01:50:35 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-12 17:38:52 +0200
commite666a44fa313cb9329c0381ad02fc6ee1e21cb31 (patch)
tree56d2944c9e744affb722b31fe30a21e313f3c5f8
parent[media] mantis: fix silly crash case (diff)
downloadlinux-e666a44fa313cb9329c0381ad02fc6ee1e21cb31.tar.xz
linux-e666a44fa313cb9329c0381ad02fc6ee1e21cb31.zip
[media] tda18212: silence compiler warning
Trivial fix. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-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)