xref: /linux/drivers/usb/dwc3/debug.h (revision d91517839e5d95adc0cf4b28caa7af62a71de526)
1 /**
2  * debug.h - DesignWare USB3 DRD Controller Debug Header
3  *
4  * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com
5  *
6  * Authors: Felipe Balbi <balbi@ti.com>,
7  *	    Sebastian Andrzej Siewior <bigeasy@linutronix.de>
8  *
9  * This program is free software: you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License version 2  of
11  * the License as published by the Free Software Foundation.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  */
18 
19 #include "core.h"
20 
21 #ifdef CONFIG_DEBUG_FS
22 extern int dwc3_debugfs_init(struct dwc3 *);
23 extern void dwc3_debugfs_exit(struct dwc3 *);
24 #else
25 static inline int dwc3_debugfs_init(struct dwc3 *d)
26 {  return 0;  }
27 static inline void dwc3_debugfs_exit(struct dwc3 *d)
28 {  }
29 #endif
30 
31