aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-05-11 09:45:18 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-06 17:11:31 -0400
commitc5a861449fcd4f50d30376986ebdb0692f0bf1f1 (patch)
tree9c27aceca89b9849e557a152bdfb4745365c81b4 /drivers/media/video/cx88/cx88.h
parentedbd138ed0cae5abe469b61e368d2629815d4c37 (diff)
[media] cx88: move fmt, width and height to cx8800_dev
These are global properties and do not belong in the filehandle struct. Note: the overlay related fields were just removed: they weren't used at all. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx88/cx88.h')
-rw-r--r--drivers/media/video/cx88/cx88.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/media/video/cx88/cx88.h b/drivers/media/video/cx88/cx88.h
index 1426993079b0..94af48e91b52 100644
--- a/drivers/media/video/cx88/cx88.h
+++ b/drivers/media/video/cx88/cx88.h
@@ -457,14 +457,7 @@ struct cx8800_fh {
457 struct cx8800_dev *dev; 457 struct cx8800_dev *dev;
458 unsigned int resources; 458 unsigned int resources;
459 459
460 /* video overlay */
461 struct v4l2_window win;
462 struct v4l2_clip *clips;
463 unsigned int nclips;
464
465 /* video capture */ 460 /* video capture */
466 const struct cx8800_fmt *fmt;
467 unsigned int width,height;
468 struct videobuf_queue vidq; 461 struct videobuf_queue vidq;
469 462
470 /* vbi capture */ 463 /* vbi capture */
@@ -489,6 +482,8 @@ struct cx8800_dev {
489 struct pci_dev *pci; 482 struct pci_dev *pci;
490 unsigned char pci_rev,pci_lat; 483 unsigned char pci_rev,pci_lat;
491 484
485 const struct cx8800_fmt *fmt;
486 unsigned int width, height;
492 487
493 /* capture queues */ 488 /* capture queues */
494 struct cx88_dmaqueue vidq; 489 struct cx88_dmaqueue vidq;