diff options
Diffstat (limited to 'include/linux/videodev.h')
-rw-r--r-- | include/linux/videodev.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/videodev.h b/include/linux/videodev.h index 23276cede540..392592a040c5 100644 --- a/include/linux/videodev.h +++ b/include/linux/videodev.h | |||
@@ -27,16 +27,6 @@ video_device_remove_file(struct video_device *vfd, | |||
27 | class_device_remove_file(&vfd->class_dev, attr); | 27 | class_device_remove_file(&vfd->class_dev, attr); |
28 | } | 28 | } |
29 | 29 | ||
30 | /* helper functions to access driver private data. */ | ||
31 | static inline void *video_get_drvdata(struct video_device *dev) | ||
32 | { | ||
33 | return dev->priv; | ||
34 | } | ||
35 | |||
36 | static inline void video_set_drvdata(struct video_device *dev, void *data) | ||
37 | { | ||
38 | dev->priv = data; | ||
39 | } | ||
40 | 30 | ||
41 | extern int video_exclusive_open(struct inode *inode, struct file *file); | 31 | extern int video_exclusive_open(struct inode *inode, struct file *file); |
42 | extern int video_exclusive_release(struct inode *inode, struct file *file); | 32 | extern int video_exclusive_release(struct inode *inode, struct file *file); |