summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/bt8xx/bttvp.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-02-06 12:42:40 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-05 14:22:35 -0300
commit8c14cc1f0ade4e16d4d3384791807abb4f367731 (patch)
treef887e9b9ae687f93f48bc1828f04787c10b9bcc3 /drivers/media/pci/bt8xx/bttvp.h
parentae50f0f83efce31c8d485b5de131a4fd3f13e24b (diff)
downloadlinux-8c14cc1f0ade4e16d4d3384791807abb4f367731.tar.bz2
[media] bttv: fix priority handling
Replace the - incorrect - manual priority handling with the core priority implementation. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/pci/bt8xx/bttvp.h')
-rw-r--r--drivers/media/pci/bt8xx/bttvp.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/pci/bt8xx/bttvp.h b/drivers/media/pci/bt8xx/bttvp.h
index 288cfd8bb560..12cc4ebdc00f 100644
--- a/drivers/media/pci/bt8xx/bttvp.h
+++ b/drivers/media/pci/bt8xx/bttvp.h
@@ -221,9 +221,6 @@ struct bttv_fh {
struct bttv *btv;
int resources;
-#ifdef VIDIOC_G_PRIORITY
- enum v4l2_priority prio;
-#endif
enum v4l2_buf_type type;
/* video capture */
@@ -420,9 +417,6 @@ struct bttv {
spinlock_t s_lock;
struct mutex lock;
int resources;
-#ifdef VIDIOC_G_PRIORITY
- struct v4l2_prio_state prio;
-#endif
/* video state */
unsigned int input;