diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-12-01 08:10:43 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-12-23 07:29:04 -0500 |
commit | 21a7e0596a63abdf12a9591c29359f7f15e18c16 (patch) | |
tree | a66dfa80fd4c25263afdbbe778548af045cb68b8 /drivers/media/usb/cx231xx | |
parent | e476f4e15d859d1112872667983918bdfa4e663b (diff) |
[media] media: drivers shouldn't touch debug field in video_device
The debug field in struct video_device is for internal use only and
drivers should mix that with their own debug module options.
It is handled by the V4L2 core and users can set it using
/sys/class/video4linux/<devX>/debug.
It has been deprecated for some time now, so it is time to remove it
completely from the drivers.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/cx231xx')
-rw-r--r-- | drivers/media/usb/cx231xx/cx231xx-video.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/usb/cx231xx/cx231xx-video.c b/drivers/media/usb/cx231xx/cx231xx-video.c index 53ca12c1ff69..ecea76fe07f6 100644 --- a/drivers/media/usb/cx231xx/cx231xx-video.c +++ b/drivers/media/usb/cx231xx/cx231xx-video.c | |||
@@ -2062,7 +2062,6 @@ static struct video_device *cx231xx_vdev_init(struct cx231xx *dev, | |||
2062 | *vfd = *template; | 2062 | *vfd = *template; |
2063 | vfd->v4l2_dev = &dev->v4l2_dev; | 2063 | vfd->v4l2_dev = &dev->v4l2_dev; |
2064 | vfd->release = video_device_release; | 2064 | vfd->release = video_device_release; |
2065 | vfd->debug = video_debug; | ||
2066 | vfd->lock = &dev->lock; | 2065 | vfd->lock = &dev->lock; |
2067 | 2066 | ||
2068 | snprintf(vfd->name, sizeof(vfd->name), "%s %s", dev->name, type_name); | 2067 | snprintf(vfd->name, sizeof(vfd->name), "%s %s", dev->name, type_name); |