summaryrefslogtreecommitdiff
path: root/drivers/media/tuners/tda18218.c
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2012-11-01 23:24:30 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-12-22 00:25:11 +0400
commitcb31c7487580a0cfc6eb253e604c1e51ac8eb3c8 (patch)
tree8f203afc132494eff11fc2f82f667b9f61d3638b /drivers/media/tuners/tda18218.c
parent6dc8f3823e52f3b9a127d79ca7b8bc782a5cfd7e (diff)
downloadlinux-cb31c7487580a0cfc6eb253e604c1e51ac8eb3c8.tar.xz
[media] budget-av: only use t_state if initialized
Building budget-av.o triggers this GCC warning: In file included from drivers/media/pci/ttpci/budget-av.c:44:0: drivers/media/dvb-frontends/tda8261_cfg.h: In function ‘tda8261_get_bandwidth’: drivers/media/dvb-frontends/tda8261_cfg.h:68:21: warning: ‘t_state.bandwidth’ may be used uninitialized in this function [-Wuninitialized] Move the printk() that uses t_state.bandwith to the location where it should be initialized to fix this. Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/tuners/tda18218.c')
0 files changed, 0 insertions, 0 deletions