[media] tuner-core: Change config from unsigned int to void *
authorOndrej Zary <linux@rainbow-software.org>
Sat, 6 Apr 2013 17:21:36 +0000 (14:21 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 8 Apr 2013 10:01:36 +0000 (07:01 -0300)
commitcdcd141c95f0c2b88e0b0869028c320cd031a23b
treec6595152b71a5aa24bdd741a606212c6e72030d8
parent5b0e5350cecb5a370ecdaa71ac113728e36e1d55
[media] tuner-core: Change config from unsigned int to void *

config looks like a hack that was added to tuner-core to allow some
configuration of TDA8290 tuner (it's not used by any other driver).
But with the new configuration options of tda8290 driver (no_i2c_gate
and std_map), it's no longer sufficient.
Change config to be void * instead, which allows passing tuner-dependent
config struct to drivers.
Also update saa7134 driver to reflect this change (no other driver uses this).

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/saa7134/saa7134-cards.c
drivers/media/pci/saa7134/saa7134.h
drivers/media/v4l2-core/tuner-core.c
include/media/tuner.h