summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/hexium_gemini.c
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-07-07 11:28:54 +0000
committerMichael Hunold <devnull@localhost>2003-07-07 11:28:54 +0000
commite841743cf89630b111efa5feccde7ded4d96c5f7 (patch)
tree9ecfc993bb338715e37bcce2694a41a0f5ad5b68 /linux/drivers/media/video/hexium_gemini.c
parent424b720a5ac042b07b0b1045f36c915b617ebaf1 (diff)
downloadmediapointer-dvb-s2-e841743cf89630b111efa5feccde7ded4d96c5f7.tar.gz
mediapointer-dvb-s2-e841743cf89630b111efa5feccde7ded4d96c5f7.tar.bz2
Make the "ext_vv_data" informations a per-device information instead
of a per-extension information. This is needed for the DVB-C cards, which seem to have swapped field order and need to propagate some video4linux specific stuff for the analog module to work.
Diffstat (limited to 'linux/drivers/media/video/hexium_gemini.c')
-rw-r--r--linux/drivers/media/video/hexium_gemini.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/linux/drivers/media/video/hexium_gemini.c b/linux/drivers/media/video/hexium_gemini.c
index 088e277f2..a82de4752 100644
--- a/linux/drivers/media/video/hexium_gemini.c
+++ b/linux/drivers/media/video/hexium_gemini.c
@@ -89,6 +89,8 @@ static int hexium_set_standard(struct hexium* hexium, struct hexium_data *vdec)
return 0;
}
+static struct saa7146_ext_vv vv_data;
+
/* this function only gets called when the probing was successful */
static int hexium_attach(struct saa7146_dev* dev, struct saa7146_pci_extension_data *info)
{
@@ -132,7 +134,7 @@ static int hexium_attach(struct saa7146_dev* dev, struct saa7146_pci_extension_d
hexium_set_input(hexium, 0);
hexium->cur_input = 0;
- saa7146_vv_init(dev);
+ saa7146_vv_init(dev,&vv_data);
if( 0 != saa7146_register_device(&hexium->video_dev, dev, "hexium", VFL_TYPE_GRABBER)) {
ERR(("cannot register capture v4l2 device. skipping.\n"));
return -1;
@@ -383,7 +385,6 @@ struct saa7146_extension hexium_extension = {
.pci_tbl = &pci_tbl[0],
.module = THIS_MODULE,
- .ext_vv_data = &vv_data,
.attach = hexium_attach,
.detach = hexium_detach,