diff options
author | Andy Walls <awalls@radix.net> | 2009-01-11 13:08:53 -0500 |
---|---|---|
committer | Andy Walls <awalls@radix.net> | 2009-01-11 13:08:53 -0500 |
commit | 708ba0701edccea0b0fc2b0ea9303337a85ff05c (patch) | |
tree | d721eb8a165d6027364643c3a0734a5ff03dcbc1 /linux/drivers/media/video/cx18/cx18-driver.h | |
parent | d50048287e23437dfd89b36c72a1740dea721004 (diff) | |
download | mediapointer-dvb-s2-708ba0701edccea0b0fc2b0ea9303337a85ff05c.tar.gz mediapointer-dvb-s2-708ba0701edccea0b0fc2b0ea9303337a85ff05c.tar.bz2 |
cx18: Conversion to new V4L2 framework: use v4l2_device object
From: Andy Walls <awalls@radix.net>
First step in conversion to the new V4L2 framework. Added per cx18 device
instance of the v4l2_device and its registration.
Priority: normal
Signed-off-by: Andy Walls <awalls@radix.net>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-driver.h')
-rw-r--r-- | linux/drivers/media/video/cx18/cx18-driver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-driver.h b/linux/drivers/media/video/cx18/cx18-driver.h index 316ff333d..2d5bcbf1b 100644 --- a/linux/drivers/media/video/cx18/cx18-driver.h +++ b/linux/drivers/media/video/cx18/cx18-driver.h @@ -48,6 +48,7 @@ #include <linux/dvb/audio.h> #include <media/v4l2-common.h> #include <media/v4l2-ioctl.h> +#include <media/v4l2-device.h> #include <media/tuner.h> #include "cx18-mailbox.h" #include "cx18-av-core.h" @@ -386,6 +387,8 @@ struct cx18 { int num; /* board number, -1 during init! */ char name[8]; /* board name for printk and interrupts (e.g. 'cx180') */ struct pci_dev *pci_dev; + struct v4l2_device v4l2_dev; + const struct cx18_card *card; /* card information */ const char *card_name; /* full name of the card */ const struct cx18_card_tuner_i2c *card_i2c; /* i2c addresses to probe for tuner */ |