Skip to content

Commit

Permalink
[media] media/staging: fix allyesconfig build error
Browse files Browse the repository at this point in the history
Fix x86 allyesconfig builds.  Builds fail due to a non-static variable
named 'debug' in drivers/staging/media/as102/.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Pierrick Hascoet <pierrick.hascoet@abilis.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Randy Dunlap authored and Mauro Carvalho Chehab committed Nov 24, 2011
1 parent ffe0619 commit e067d5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/media/as102/as102_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
#include "as102_fw.h"
#include "dvbdev.h"

int debug;
module_param_named(debug, debug, int, 0644);
int as102_debug;
module_param_named(debug, as102_debug, int, 0644);
MODULE_PARM_DESC(debug, "Turn on/off debugging (default: off)");

int dual_tuner;
Expand Down
3 changes: 2 additions & 1 deletion drivers/staging/media/as102/as102_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ extern struct spi_driver as102_spi_driver;
#define DRIVER_FULL_NAME "Abilis Systems as10x usb driver"
#define DRIVER_NAME "as10x_usb"

extern int debug;
extern int as102_debug;
#define debug as102_debug

#define dprintk(debug, args...) \
do { if (debug) { \
Expand Down

0 comments on commit e067d5a

Please sign in to comment.