Permalink
Browse files

v4l2ctd: changed debug module parameter to int type

Changed debug module parameter type to int from bool to stop
warning messages when compiling.

Signed-off-by: Hans Christian Woithe <hans.woithe@alcatel-lucent.com>
  • Loading branch information...
1 parent a316d5d commit 54e8a24b81cece08d92b3ea0d611335a61a31d3c Hans Christian Woithe committed with Ilija Hadzic Feb 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 drivers/gpu/drm/ctd/v4l2ctd/v4l2ctd_main.c
@@ -1122,7 +1122,7 @@ module_init(v4l2ctd_init);
module_exit(v4l2ctd_exit);
MODULE_PARM_DESC(debug, "Enable debugging information.");
-module_param(debug, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
+module_param(debug, int, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
MODULE_PARM_DESC(num_minors, "Number of minors (default=1)");
module_param_named(num_minors, v4l2ctd_num_minors, int, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);

0 comments on commit 54e8a24

Please sign in to comment.