Skip to content

Commit

Permalink
Staging: easycap: Make easycap_debug non-static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Thomas authored and Greg Kroah-Hartman committed Jan 21, 2011
1 parent 0a8692b commit 18545cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion drivers/staging/easycap/easycap.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/easycap/easycap_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 18545cf

Please sign in to comment.