summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/fotg210-hcd.c
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.de>2013-11-18 13:23:03 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-03 10:28:39 -0800
commita90b8fc6f477ef40bd7a50354ce4ae029d8c70c5 (patch)
tree645bb91b2c0133e7760081b9c3b436de4edf6203 /drivers/usb/host/fotg210-hcd.c
parent991fb3daac946441dbf4c237b2dd4d6c11fff633 (diff)
downloadop-kernel-dev-a90b8fc6f477ef40bd7a50354ce4ae029d8c70c5.zip
op-kernel-dev-a90b8fc6f477ef40bd7a50354ce4ae029d8c70c5.tar.gz
fotg210: remove conditional compilation
Always compile in the debugfs support Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/fotg210-hcd.c')
-rw-r--r--drivers/usb/host/fotg210-hcd.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/usb/host/fotg210-hcd.c b/drivers/usb/host/fotg210-hcd.c
index 55486bd..3af0533 100644
--- a/drivers/usb/host/fotg210-hcd.c
+++ b/drivers/usb/host/fotg210-hcd.c
@@ -352,13 +352,6 @@ dbg_port_buf(char *buf, unsigned len, const char *label, int port, u32 status)
/*-------------------------------------------------------------------------*/
-#ifdef STUB_DEBUG_FILES
-
-static inline void create_debug_files(struct fotg210_hcd *bus) { }
-static inline void remove_debug_files(struct fotg210_hcd *bus) { }
-
-#else
-
/* troubleshooting help: expose state in debugfs */
static int debug_async_open(struct inode *, struct file *);
@@ -954,7 +947,6 @@ static inline void remove_debug_files(struct fotg210_hcd *fotg210)
debugfs_remove_recursive(fotg210->debug_dir);
}
-#endif /* STUB_DEBUG_FILES */
/*-------------------------------------------------------------------------*/
/*
OpenPOWER on IntegriCloud