aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci.h
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.de>2013-11-18 07:22:57 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-03 13:25:22 -0500
commit5c2a18014f906d81ae83484801831650f0fa07fe (patch)
tree072eec69353f001f43032f9351b79077419b5cc2 /drivers/usb/host/ohci.h
parent8fdbeb26b5105282e55559b54a660fe7b6eed331 (diff)
ohci: remove conditional compilation
Conditional compilation for debugging is removed in favor of dynamic debugging. To do so 1. the support for debugfs is always compiled 2. the support for the ancient print_urb debugging aid is removed Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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...) \