Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61467
b: refs/heads/master
c: aebdc3b
h: refs/heads/master
i:
  61465: 7cff3ad
  61463: 2cd0979
v: v3
  • Loading branch information
David Brownell authored and Greg Kroah-Hartman committed Jul 18, 2007
1 parent d3f579b commit d5fee51
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 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: bc37e2830339cbfa42ac8579a7bf62fc4cdd360d
refs/heads/master: aebdc3b450a3febf7d7d00cd2235509055ec7082
7 changes: 0 additions & 7 deletions trunk/drivers/usb/core/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@
#include "hcd.h"
#include "usb.h"

#define VERBOSE_DEBUG 0

#if VERBOSE_DEBUG
#define dev_vdbg dev_dbg
#else
#define dev_vdbg(dev, fmt, args...) do { } while (0)
#endif

#ifdef CONFIG_HOTPLUG

Expand Down
10 changes: 10 additions & 0 deletions trunk/include/linux/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,16 @@ dev_dbg(struct device * dev, const char * fmt, ...)
}
#endif

#ifdef VERBOSE_DEBUG
#define dev_vdbg dev_dbg
#else
static inline int __attribute__ ((format (printf, 2, 3)))
dev_vdbg(struct device * dev, const char * fmt, ...)
{
return 0;
}
#endif

#define dev_err(dev, format, arg...) \
dev_printk(KERN_ERR , dev , format , ## arg)
#define dev_info(dev, format, arg...) \
Expand Down

0 comments on commit d5fee51

Please sign in to comment.