Commit 18545cfd authored by Mike Thomas's avatar Mike Thomas Committed by Greg Kroah-Hartman

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: default avatarMike Thomas <rmthomas@sciolus.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 0a8692b5
...@@ -65,7 +65,6 @@ ...@@ -65,7 +65,6 @@
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/smp_lock.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/kref.h> #include <linux/kref.h>
#include <linux/usb.h> #include <linux/usb.h>
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include "easycap_standard.h" #include "easycap_standard.h"
#include "easycap_ioctl.h" #include "easycap_ioctl.h"
static int easycap_debug; int easycap_debug;
static int easycap_bars; static int easycap_bars;
int easycap_gain = 16; int easycap_gain = 16;
module_param_named(debug, easycap_debug, int, S_IRUGO | S_IWUSR); module_param_named(debug, easycap_debug, int, S_IRUGO | S_IWUSR);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment