Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118965
b: refs/heads/master
c: b60c72a
h: refs/heads/master
i:
  118963: d651db0
v: v3
  • Loading branch information
Felipe Balbi authored and Greg Kroah-Hartman committed Nov 13, 2008
1 parent ffadd45 commit bcb5429
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eef767b761bdd08200fbbfc910ab815d03787326
refs/heads/master: b60c72abdbd44ed2a63fa80455d0b7f18ce76d2b
6 changes: 3 additions & 3 deletions trunk/drivers/usb/musb/musb_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@



unsigned debug;
module_param(debug, uint, S_IRUGO | S_IWUSR);
unsigned musb_debug;
module_param(musb_debug, uint, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(debug, "Debug message level. Default = 0");

#define DRIVER_AUTHOR "Mentor Graphics, Texas Instruments, Nokia"
Expand Down Expand Up @@ -2248,7 +2248,7 @@ static int __init musb_init(void)
"host"
#endif
", debug=%d\n",
musb_driver_name, debug);
musb_driver_name, musb_debug);
return platform_driver_probe(&musb_driver, musb_probe);
}

Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/usb/musb/musb_debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
__func__, __LINE__ , ## args); \
} } while (0)

extern unsigned debug;
extern unsigned musb_debug;

static inline int _dbg_level(unsigned l)
{
return debug >= l;
return musb_debug >= l;
}

#define DBG(level, fmt, args...) xprintk(level, KERN_DEBUG, fmt, ## args)
Expand Down

0 comments on commit bcb5429

Please sign in to comment.