Skip to content

Commit

Permalink
v4l2ctd: changed debug module parameter to int type
Browse files Browse the repository at this point in the history
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
Hans Christian Woithe authored and Ilija Hadzic committed Feb 21, 2012
1 parent a316d5d commit 54e8a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/ctd/v4l2ctd/v4l2ctd_main.c
Expand Up @@ -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);

Expand Down

0 comments on commit 54e8a24

Please sign in to comment.