From: Mike Thomas Date: Mon, 10 Jan 2011 18:34:41 +0000 (+0000) Subject: Staging: easycap: Make easycap_debug non-static X-Git-Tag: MMI-PSA29.97-13-9~20521^2~846 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=18545cfd3623e5cd8960f5155f95e0a9c790a54c;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: easycap: Make easycap_debug non-static The parameter easycap_debug appears in macros JOT and JOM and therefore needs to be visible from all source files. The easycap_ prefix should be sufficient to avoid namespace clashes outside the module. Signed-off-by: Mike Thomas Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/easycap/easycap.h b/drivers/staging/easycap/easycap.h index 8ebf96f8a242..063d44718d8d 100644 --- a/drivers/staging/easycap/easycap.h +++ b/drivers/staging/easycap/easycap.h @@ -65,7 +65,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/staging/easycap/easycap_main.c b/drivers/staging/easycap/easycap_main.c index acc1f56e6f29..22cf02b9e9d5 100644 --- a/drivers/staging/easycap/easycap_main.c +++ b/drivers/staging/easycap/easycap_main.c @@ -32,7 +32,7 @@ #include "easycap_standard.h" #include "easycap_ioctl.h" -static int easycap_debug; +int easycap_debug; static int easycap_bars; int easycap_gain = 16; module_param_named(debug, easycap_debug, int, S_IRUGO | S_IWUSR);