aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ohci.h')
-rw-r--r--drivers/usb/host/ohci.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/usb/host/ohci.h b/drivers/usb/host/ohci.h
index e2e5faa5a402..ea02722cab04 100644
--- a/drivers/usb/host/ohci.h
+++ b/drivers/usb/host/ohci.h
@@ -415,12 +415,11 @@ struct ohci_hcd {
415 struct ed *ed_to_check; 415 struct ed *ed_to_check;
416 unsigned zf_delay; 416 unsigned zf_delay;
417 417
418#ifdef DEBUG
419 struct dentry *debug_dir; 418 struct dentry *debug_dir;
420 struct dentry *debug_async; 419 struct dentry *debug_async;
421 struct dentry *debug_periodic; 420 struct dentry *debug_periodic;
422 struct dentry *debug_registers; 421 struct dentry *debug_registers;
423#endif 422
424 /* platform-specific data -- must come last */ 423 /* platform-specific data -- must come last */
425 unsigned long priv[0] __aligned(sizeof(s64)); 424 unsigned long priv[0] __aligned(sizeof(s64));
426 425
@@ -474,10 +473,6 @@ static inline struct usb_hcd *ohci_to_hcd (const struct ohci_hcd *ohci)
474 473
475/*-------------------------------------------------------------------------*/ 474/*-------------------------------------------------------------------------*/
476 475
477#ifndef DEBUG
478#define STUB_DEBUG_FILES
479#endif /* DEBUG */
480
481#define ohci_dbg(ohci, fmt, args...) \ 476#define ohci_dbg(ohci, fmt, args...) \
482 dev_dbg (ohci_to_hcd(ohci)->self.controller , fmt , ## args ) 477 dev_dbg (ohci_to_hcd(ohci)->self.controller , fmt , ## args )
483#define ohci_err(ohci, fmt, args...) \ 478#define ohci_err(ohci, fmt, args...) \