提交 c97da154 编写于 作者: L Laurent Pinchart 提交者: Mauro Carvalho Chehab

[media] Revert "[media] v4l: omap4iss: Add module debug parameter"

This reverts commit 18661234.

The video_device debug field has been renamed to dev_debug, resulting in
a compilation failure. As v4l2 debugging is supposed to be controlled
through a sysfs attribute created by the v4l2 core, there's no need to
duplicate debug control through a module parameter. Remove it.
Signed-off-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: NHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 566cc8a5
...@@ -25,9 +25,6 @@ ...@@ -25,9 +25,6 @@
#include "iss_video.h" #include "iss_video.h"
#include "iss.h" #include "iss.h"
static unsigned debug;
module_param(debug, uint, 0644);
MODULE_PARM_DESC(debug, "activates debug info");
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* Helper functions * Helper functions
...@@ -1053,8 +1050,6 @@ static int iss_video_open(struct file *file) ...@@ -1053,8 +1050,6 @@ static int iss_video_open(struct file *file)
if (handle == NULL) if (handle == NULL)
return -ENOMEM; return -ENOMEM;
video->video.debug = debug;
v4l2_fh_init(&handle->vfh, &video->video); v4l2_fh_init(&handle->vfh, &video->video);
v4l2_fh_add(&handle->vfh); v4l2_fh_add(&handle->vfh);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册