diff options
author | Michael Hunold <devnull@localhost> | 2003-07-07 11:28:54 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-07-07 11:28:54 +0000 |
commit | e841743cf89630b111efa5feccde7ded4d96c5f7 (patch) | |
tree | 9ecfc993bb338715e37bcce2694a41a0f5ad5b68 /linux/include | |
parent | 424b720a5ac042b07b0b1045f36c915b617ebaf1 (diff) | |
download | mediapointer-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/include')
-rw-r--r-- | linux/include/media/saa7146.h | 5 | ||||
-rw-r--r-- | linux/include/media/saa7146_vv.h | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/linux/include/media/saa7146.h b/linux/include/media/saa7146.h index a7c52fdfd..0404116f9 100644 --- a/linux/include/media/saa7146.h +++ b/linux/include/media/saa7146.h @@ -88,9 +88,7 @@ struct saa7146_extension char name[32]; /* name of the device */ #define SAA7146_USE_I2C_IRQ 0x1 int flags; - - struct saa7146_ext_vv *ext_vv_data; - + /* pairs of subvendor and subdevice ids for supported devices, last entry 0xffff, 0xfff */ struct module *module; @@ -134,6 +132,7 @@ struct saa7146_dev /* extension handling */ struct saa7146_extension *ext; /* indicates if handled by extension */ void *ext_priv; /* pointer for extension private use (most likely some private data) */ + struct saa7146_ext_vv *ext_vv_data; /* per device video/vbi informations (if available) */ struct saa7146_vv *vv_data; diff --git a/linux/include/media/saa7146_vv.h b/linux/include/media/saa7146_vv.h index 6d19ade7a..fae89e7d0 100644 --- a/linux/include/media/saa7146_vv.h +++ b/linux/include/media/saa7146_vv.h @@ -187,7 +187,7 @@ int saa7146_buffer_queue(struct saa7146_dev *dev, struct saa7146_dmaqueue *q, st void saa7146_buffer_timeout(unsigned long data); void saa7146_dma_free(struct saa7146_dev *dev,struct saa7146_buf *buf); -int saa7146_vv_init(struct saa7146_dev* dev); +int saa7146_vv_init(struct saa7146_dev* dev, struct saa7146_ext_vv *ext_vv); int saa7146_vv_release(struct saa7146_dev* dev); |