Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <rmthomas@sciolus.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Mike Thomas and committed by
Greg Kroah-Hartman
18545cfd 0a8692b5

+1 -2
-1
drivers/staging/easycap/easycap.h
··· 65 65 #include <linux/errno.h> 66 66 #include <linux/init.h> 67 67 #include <linux/slab.h> 68 - #include <linux/smp_lock.h> 69 68 #include <linux/module.h> 70 69 #include <linux/kref.h> 71 70 #include <linux/usb.h>
+1 -1
drivers/staging/easycap/easycap_main.c
··· 32 32 #include "easycap_standard.h" 33 33 #include "easycap_ioctl.h" 34 34 35 - static int easycap_debug; 35 + int easycap_debug; 36 36 static int easycap_bars; 37 37 int easycap_gain = 16; 38 38 module_param_named(debug, easycap_debug, int, S_IRUGO | S_IWUSR);