From: Sylwester Nawrocki Date: Wed, 10 Apr 2013 09:42:44 +0000 (-0300) Subject: [media] exynos4-is: Disable debug trace by default in fimc-isp.c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b54373c5491249dbdd8fcbe35d450fef18d8a10a;p=openwrt%2Fstaging%2Fblogic.git [media] exynos4-is: Disable debug trace by default in fimc-isp.c Make sure the debug level is properly set initially so any debug information is not printed to the kernel log without explicitly enabling it. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/exynos4-is/fimc-isp.c b/drivers/media/platform/exynos4-is/fimc-isp.c index 7b8fbabe3556..3b9a6642a491 100644 --- a/drivers/media/platform/exynos4-is/fimc-isp.c +++ b/drivers/media/platform/exynos4-is/fimc-isp.c @@ -30,7 +30,7 @@ #include "fimc-is-regs.h" #include "fimc-is.h" -static int debug = 10; +static int debug; module_param_named(debug_isp, debug, int, S_IRUGO | S_IWUSR); static const struct fimc_fmt fimc_isp_formats[FIMC_ISP_NUM_FORMATS] = {