From: Hans Verkuil Date: Sat, 14 Dec 2013 11:28:37 +0000 (-0300) Subject: [media] saa7134: don't set vfd->debug X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=581d88c470bce802cab00f92536917a315b09ad2;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] saa7134: don't set vfd->debug You can set this through sysfs, so don't mix the two. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/pci/saa7134/saa7134-core.c b/drivers/media/pci/saa7134/saa7134-core.c index d3b4e5661c83..1362b4aab473 100644 --- a/drivers/media/pci/saa7134/saa7134-core.c +++ b/drivers/media/pci/saa7134/saa7134-core.c @@ -803,7 +803,6 @@ static struct video_device *vdev_init(struct saa7134_dev *dev, *vfd = *template; vfd->v4l2_dev = &dev->v4l2_dev; vfd->release = video_device_release; - vfd->debug = video_debug; snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)", dev->name, type, saa7134_boards[dev->board].name); set_bit(V4L2_FL_USE_FH_PRIO, &vfd->flags);