diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-30 12:39:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-30 12:39:15 -0400 |
commit | 5ffd1a6aaacc25be8cd0770a51ec6d46add3a276 (patch) | |
tree | 5b076c44f8b7ff88dba9a554d7748c6f083c9071 /include/media/v4l2-dev.h | |
parent | 0cd43f83d381c4246a08cd775834833d6fd64805 (diff) | |
parent | 8dd86eebc5315910ebfd9f30f1674254308be4b3 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb
* master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (180 commits)
V4L/DVB (4641): Trivial: use lowercase letters in hex subsystem ids
V4L/DVB (4639): Cx88: add autodetection for alternate revision of Leadtek PVR
V4L/DVB (4638): Basic DVB-T and analog TV support for the HVR1300.
V4L/DVB (4637): Add a default method for VIDIOC_G_PARM
V4L/DVB (4635): Extend bttv and saa7134 to check for both AGP and PCI PCI failure case
V4L/DVB (4634): Zr36120: implement pcipci checks
V4L/DVB (4632): Zoran: Implement pcipci failure check
V4L/DVB (4631): Av7110: remove V4L2_CAP_VBI_CAPTURE flag
V4L/DVB (4630): Av7110: FW_LOADER depemdency fixed
V4L/DVB (4629): Saa7134: add card support for Proteus Pro 2309
V4L/DVB (4628): Fix VIDIOC_ENUMSTD ioctl in videodev.c
V4L/DVB (4627): Vivi crashes with mplayer
V4L/DVB (4626): On saa7111/7113, LUMA_CTRL need a different value
V4L/DVB (4624): Tvaudio: Replaced kernel_thread() with kthread_run()
V4L/DVB (4622): Copy-paste bug in videodev.c
V4L/DVB (4620): Fix AGC configuration for MOD3000P-based boards
V4L/DVB (4619): Fixes some I2C dependencies on V4L devices
V4L/DVB (4617): Problem with dibusb-mb.c USB IDs
V4L/DVB (4616): [PATCH] Nebula DigiTV USB RC support
V4L/DVB (4614): Export symbol saa7134_tvaudio_setmute from saa7134 for saa7134-alsa
...
Diffstat (limited to 'include/media/v4l2-dev.h')
-rw-r--r-- | include/media/v4l2-dev.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h index bb495b7f4680..6a11d772700f 100644 --- a/include/media/v4l2-dev.h +++ b/include/media/v4l2-dev.h | |||
@@ -9,7 +9,8 @@ | |||
9 | #ifndef _V4L2_DEV_H | 9 | #ifndef _V4L2_DEV_H |
10 | #define _V4L2_DEV_H | 10 | #define _V4L2_DEV_H |
11 | 11 | ||
12 | #define OBSOLETE_OWNER 1 /* to be removed soon */ | 12 | #define OBSOLETE_OWNER 1 /* to be removed soon */ |
13 | #define OBSOLETE_DEVDATA 1 /* to be removed soon */ | ||
13 | 14 | ||
14 | #include <linux/poll.h> | 15 | #include <linux/poll.h> |
15 | #include <linux/fs.h> | 16 | #include <linux/fs.h> |
@@ -338,8 +339,6 @@ extern int video_usercopy(struct inode *inode, struct file *file, | |||
338 | #ifdef CONFIG_VIDEO_V4L1_COMPAT | 339 | #ifdef CONFIG_VIDEO_V4L1_COMPAT |
339 | #include <linux/mm.h> | 340 | #include <linux/mm.h> |
340 | 341 | ||
341 | extern struct video_device* video_devdata(struct file*); | ||
342 | |||
343 | #define to_video_device(cd) container_of(cd, struct video_device, class_dev) | 342 | #define to_video_device(cd) container_of(cd, struct video_device, class_dev) |
344 | static inline int __must_check | 343 | static inline int __must_check |
345 | video_device_create_file(struct video_device *vfd, | 344 | video_device_create_file(struct video_device *vfd, |
@@ -370,9 +369,14 @@ static inline void video_set_drvdata(struct video_device *dev, void *data) | |||
370 | { | 369 | { |
371 | dev->priv = data; | 370 | dev->priv = data; |
372 | } | 371 | } |
372 | |||
373 | #endif | 373 | #endif |
374 | 374 | ||
375 | #ifdef OBSOLETE_DEVDATA /* to be removed soon */ | ||
376 | /* Obsolete stuff - Still needed for radio devices and obsolete drivers */ | ||
377 | extern struct video_device* video_devdata(struct file*); | ||
375 | extern int video_exclusive_open(struct inode *inode, struct file *file); | 378 | extern int video_exclusive_open(struct inode *inode, struct file *file); |
376 | extern int video_exclusive_release(struct inode *inode, struct file *file); | 379 | extern int video_exclusive_release(struct inode *inode, struct file *file); |
380 | #endif | ||
377 | 381 | ||
378 | #endif /* _V4L2_DEV_H */ | 382 | #endif /* _V4L2_DEV_H */ |