summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-01-16 15:34:30 +0000
committerMichael Hunold <devnull@localhost>2003-01-16 15:34:30 +0000
commit8224400559ef50b53e11400aa0853cb6769bdf6b (patch)
tree68e128b95ee5dc335ad358d29fc2d1c472922c46 /linux/drivers/media/common
parent7e5378db73d4f64199609f3ccf564f47c6c565e3 (diff)
downloadmediapointer-dvb-s2-8224400559ef50b53e11400aa0853cb6769bdf6b.tar.gz
mediapointer-dvb-s2-8224400559ef50b53e11400aa0853cb6769bdf6b.tar.bz2
- extended the preprocessor magic to av7110.c, too, had to change
the other files again.
Diffstat (limited to 'linux/drivers/media/common')
-rw-r--r--linux/drivers/media/common/saa7146.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/linux/drivers/media/common/saa7146.h b/linux/drivers/media/common/saa7146.h
index ece57408c..44f3ce2c2 100644
--- a/linux/drivers/media/common/saa7146.h
+++ b/linux/drivers/media/common/saa7146.h
@@ -68,6 +68,15 @@ struct saa7146_pci_extension_data {
void *ext_priv; /* most likely a name string */
};
+#define MAKE_EXTENSION_PCI(x_var, x_vendor, x_device) \
+ { \
+ .vendor = PCI_VENDOR_ID_PHILIPS, \
+ .device = PCI_DEVICE_ID_PHILIPS_SAA7146, \
+ .subvendor = x_vendor, \
+ .subdevice = x_device, \
+ .driver_data = (unsigned long)& x_var, \
+ }
+
struct saa7146_extension
{
char name[32]; /* name of the device */