summaryrefslogtreecommitdiffstats
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
parente1d45ae10aea8e8a403e5d96bf5902ee670007ff (diff)
downloadop-kernel-dev-e666a44fa313cb9329c0381ad02fc6ee1e21cb31.zip
op-kernel-dev-e666a44fa313cb9329c0381ad02fc6ee1e21cb31.tar.gz
[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 602c2e3..a14e8b6 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)
OpenPOWER on IntegriCloud