diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-12-07 14:17:02 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-12-07 14:17:02 +0000 |
commit | aeac86abb3fdff12ddfb38503b35e195ab85ceab (patch) | |
tree | 6842950190e5acbd48aa8e14d552441c993bc4e3 /linux/drivers/media/video/videodev.c | |
parent | 7d7cba3bfd96e6e4fdef941efd6136966317ed70 (diff) | |
download | mediapointer-dvb-s2-aeac86abb3fdff12ddfb38503b35e195ab85ceab.tar.gz mediapointer-dvb-s2-aeac86abb3fdff12ddfb38503b35e195ab85ceab.tar.bz2 |
kernel-sync patches.
- kernel-sync
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/videodev.c')
-rw-r--r-- | linux/drivers/media/video/videodev.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/drivers/media/video/videodev.c b/linux/drivers/media/video/videodev.c index 6de5b0094..2411803b3 100644 --- a/linux/drivers/media/video/videodev.c +++ b/linux/drivers/media/video/videodev.c @@ -68,7 +68,8 @@ static void video_release(struct class_device *cd) { struct video_device *vfd = container_of(cd, struct video_device, class_dev); -#if 1 /* needed until all drivers are fixed */ +#if 1 /* keep */ + /* needed until all drivers are fixed */ if (!vfd->release) return; #endif @@ -344,7 +345,8 @@ int video_register_device(struct video_device *vfd, int type, int nr) class_device_create_file(&vfd->class_dev, &class_device_attr_name); -#if 1 /* needed until all drivers are fixed */ +#if 1 /* keep */ + /* needed until all drivers are fixed */ if (!vfd->release) printk(KERN_WARNING "videodev: \"%s\" has no release callback. " "Please fix your driver for proper sysfs support, see " |