Loading...
Note: File does not exist in v3.1.
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
22extern int dwc3_debugfs_init(struct dwc3 *);
23extern void dwc3_debugfs_exit(struct dwc3 *);
24#else
25static inline int dwc3_debugfs_init(struct dwc3 *d)
26{ return 0; }
27static inline void dwc3_debugfs_exit(struct dwc3 *d)
28{ }
29#endif
30