diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-03-14 11:36:54 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:43:23 -0400 |
commit | 74fc7bd9cec0ccdbea23659208492ec7ffc58297 (patch) | |
tree | cd16dbc46ec3771da456d71e2d0f27519ca9ae79 /drivers/media/video/bt8xx/bttv.h | |
parent | f1ba28c3a6e472742cbd73b05b807684e5d56b5a (diff) |
V4L/DVB (11046): bttv: convert to v4l2_device.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/bt8xx/bttv.h')
-rw-r--r-- | drivers/media/video/bt8xx/bttv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/bt8xx/bttv.h b/drivers/media/video/bt8xx/bttv.h index e08719b378bd..85b0e3e9d382 100644 --- a/drivers/media/video/bt8xx/bttv.h +++ b/drivers/media/video/bt8xx/bttv.h | |||
@@ -16,6 +16,7 @@ | |||
16 | 16 | ||
17 | #include <linux/videodev2.h> | 17 | #include <linux/videodev2.h> |
18 | #include <linux/i2c.h> | 18 | #include <linux/i2c.h> |
19 | #include <media/v4l2-device.h> | ||
19 | #include <media/ir-common.h> | 20 | #include <media/ir-common.h> |
20 | #include <media/ir-kbd-i2c.h> | 21 | #include <media/ir-kbd-i2c.h> |
21 | #include <media/i2c-addr.h> | 22 | #include <media/i2c-addr.h> |
@@ -196,6 +197,7 @@ | |||
196 | 197 | ||
197 | struct bttv_core { | 198 | struct bttv_core { |
198 | /* device structs */ | 199 | /* device structs */ |
200 | struct v4l2_device v4l2_dev; | ||
199 | struct pci_dev *pci; | 201 | struct pci_dev *pci; |
200 | struct i2c_adapter i2c_adap; | 202 | struct i2c_adapter i2c_adap; |
201 | struct list_head subs; /* struct bttv_sub_device */ | 203 | struct list_head subs; /* struct bttv_sub_device */ |
@@ -203,7 +205,6 @@ struct bttv_core { | |||
203 | /* device config */ | 205 | /* device config */ |
204 | unsigned int nr; /* dev nr (for printk("bttv%d: ..."); */ | 206 | unsigned int nr; /* dev nr (for printk("bttv%d: ..."); */ |
205 | unsigned int type; /* card type (pointer into tvcards[]) */ | 207 | unsigned int type; /* card type (pointer into tvcards[]) */ |
206 | char name[8]; /* dev name */ | ||
207 | }; | 208 | }; |
208 | 209 | ||
209 | struct bttv; | 210 | struct bttv; |