diff options
Diffstat (limited to 'drivers/media/video/videodev.c')
-rw-r--r-- | drivers/media/video/videodev.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/video/videodev.c b/drivers/media/video/videodev.c index 6de5b0094b82..7df6a55dd59e 100644 --- a/drivers/media/video/videodev.c +++ b/drivers/media/video/videodev.c | |||
@@ -68,7 +68,8 @@ static void video_release(struct class_device *cd) | |||
68 | { | 68 | { |
69 | struct video_device *vfd = container_of(cd, struct video_device, class_dev); | 69 | struct video_device *vfd = container_of(cd, struct video_device, class_dev); |
70 | 70 | ||
71 | #if 1 /* needed until all drivers are fixed */ | 71 | #if 1 |
72 | /* needed until all drivers are fixed */ | ||
72 | if (!vfd->release) | 73 | if (!vfd->release) |
73 | return; | 74 | return; |
74 | #endif | 75 | #endif |
@@ -344,7 +345,8 @@ int video_register_device(struct video_device *vfd, int type, int nr) | |||
344 | class_device_create_file(&vfd->class_dev, | 345 | class_device_create_file(&vfd->class_dev, |
345 | &class_device_attr_name); | 346 | &class_device_attr_name); |
346 | 347 | ||
347 | #if 1 /* needed until all drivers are fixed */ | 348 | #if 1 |
349 | /* needed until all drivers are fixed */ | ||
348 | if (!vfd->release) | 350 | if (!vfd->release) |
349 | printk(KERN_WARNING "videodev: \"%s\" has no release callback. " | 351 | printk(KERN_WARNING "videodev: \"%s\" has no release callback. " |
350 | "Please fix your driver for proper sysfs support, see " | 352 | "Please fix your driver for proper sysfs support, see " |