diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-08-23 04:34:55 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:36:54 -0400 |
commit | cb353588e1946ab709be57dd8545598793acf912 (patch) | |
tree | 1a13b6881a169e205bf9ca190c5ce913618771e9 /include/media/v4l2-dev.h | |
parent | 7d43cd53c851e3cf04d73108d4e7e25a1104c6f5 (diff) |
V4L/DVB (8781): v4l2-dev: remove obsolete video_exclusive_open/release
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/v4l2-dev.h')
-rw-r--r-- | include/media/v4l2-dev.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h index 2745e1afc722..e472b5d07a55 100644 --- a/include/media/v4l2-dev.h +++ b/include/media/v4l2-dev.h | |||
@@ -77,10 +77,6 @@ struct video_device | |||
77 | * Or use {pci|usb}_{get|set}_drvdata() directly. */ | 77 | * Or use {pci|usb}_{get|set}_drvdata() directly. */ |
78 | void *priv; | 78 | void *priv; |
79 | #endif | 79 | #endif |
80 | |||
81 | /* for videodev.c internal usage -- please don't touch */ | ||
82 | int users; /* video_exclusive_{open|close} ... */ | ||
83 | struct mutex lock; /* ... helper function uses these */ | ||
84 | }; | 80 | }; |
85 | 81 | ||
86 | /* Class-dev to video-device */ | 82 | /* Class-dev to video-device */ |
@@ -111,8 +107,6 @@ static inline void video_set_drvdata(struct video_device *dev, void *data) | |||
111 | 107 | ||
112 | /* Obsolete stuff - Still needed for radio devices and obsolete drivers */ | 108 | /* Obsolete stuff - Still needed for radio devices and obsolete drivers */ |
113 | extern struct video_device* video_devdata(struct file*); | 109 | extern struct video_device* video_devdata(struct file*); |
114 | extern int video_exclusive_open(struct inode *inode, struct file *file); | ||
115 | extern int video_exclusive_release(struct inode *inode, struct file *file); | ||
116 | #endif | 110 | #endif |
117 | 111 | ||
118 | #endif /* _V4L2_DEV_H */ | 112 | #endif /* _V4L2_DEV_H */ |