diff options
Diffstat (limited to 'drivers/usb/musb/musb_debug.h')
-rw-r--r-- | drivers/usb/musb/musb_debug.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/usb/musb/musb_debug.h b/drivers/usb/musb/musb_debug.h index 94f6973cf8f7..742eada5002e 100644 --- a/drivers/usb/musb/musb_debug.h +++ b/drivers/usb/musb/musb_debug.h | |||
@@ -42,20 +42,6 @@ | |||
42 | #define INFO(fmt, args...) yprintk(KERN_INFO, fmt, ## args) | 42 | #define INFO(fmt, args...) yprintk(KERN_INFO, fmt, ## args) |
43 | #define ERR(fmt, args...) yprintk(KERN_ERR, fmt, ## args) | 43 | #define ERR(fmt, args...) yprintk(KERN_ERR, fmt, ## args) |
44 | 44 | ||
45 | #define DBG(level, format, args...) do { \ | ||
46 | if (_dbg_level(level)) \ | ||
47 | pr_debug("%s %d: " format, __func__, __LINE__, ## args); \ | ||
48 | } while (0) | ||
49 | |||
50 | extern unsigned musb_debug; | ||
51 | |||
52 | static inline int _dbg_level(unsigned l) | ||
53 | { | ||
54 | return musb_debug >= l; | ||
55 | } | ||
56 | |||
57 | extern const char *otg_state_string(struct musb *); | ||
58 | |||
59 | #ifdef CONFIG_DEBUG_FS | 45 | #ifdef CONFIG_DEBUG_FS |
60 | extern int musb_init_debugfs(struct musb *musb); | 46 | extern int musb_init_debugfs(struct musb *musb); |
61 | extern void musb_exit_debugfs(struct musb *musb); | 47 | extern void musb_exit_debugfs(struct musb *musb); |