[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>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
5b0e5350ce
commit
cdcd141c95
@@ -45,6 +45,7 @@
|
||||
#if IS_ENABLED(CONFIG_VIDEO_SAA7134_DVB)
|
||||
#include <media/videobuf-dvb.h>
|
||||
#endif
|
||||
#include "tda8290.h"
|
||||
|
||||
#define UNSET (-1U)
|
||||
|
||||
@@ -390,7 +391,7 @@ struct saa7134_board {
|
||||
unsigned char rds_addr;
|
||||
|
||||
unsigned int tda9887_conf;
|
||||
unsigned int tuner_config;
|
||||
struct tda829x_config tda829x_conf;
|
||||
|
||||
/* peripheral I/O */
|
||||
enum saa7134_video_out video_out;
|
||||
|
Reference in New Issue
Block a user