]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
Staging: easycap: Make easycap_debug non-static
authorMike Thomas <rmthomas@sciolus.org>
Mon, 10 Jan 2011 18:34:41 +0000 (18:34 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 21 Jan 2011 20:20:56 +0000 (12:20 -0800)
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>
drivers/staging/easycap/easycap.h
drivers/staging/easycap/easycap_main.c

index 8ebf96f8a24235b49e42f507c3842acd48b82176..063d44718d8d707b72a8d106ed6f752a15101ff0 100644 (file)
@@ -65,7 +65,6 @@
 #include <linux/errno.h>
 #include <linux/init.h>
 #include <linux/slab.h>
-#include <linux/smp_lock.h>
 #include <linux/module.h>
 #include <linux/kref.h>
 #include <linux/usb.h>
index acc1f56e6f29c98f58cbdc42a633c9ceb2b066a6..22cf02b9e9d5f2d5ec2ceb41897112b76703356b 100644 (file)
@@ -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);