Greg Kroah-Hartman | 5fd54ac | 2017-11-03 11:28:30 +0100 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Mian Yousaf Kaukab | f91eea4 | 2015-04-29 22:08:59 +0200 | [diff] [blame] | 2 | /** |
| 3 | * debug.h - Designware USB2 DRD controller debug header |
| 4 | * |
| 5 | * Copyright (C) 2015 Intel Corporation |
| 6 | * Mian Yousaf Kaukab <yousaf.kaukab@intel.com> |
| 7 | * |
| 8 | * This program is free software: you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License version 2 of |
| 10 | * the License as published by the Free Software Foundation. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
| 16 | */ |
| 17 | |
| 18 | #include "core.h" |
| 19 | |
| 20 | #ifdef CONFIG_DEBUG_FS |
John Youn | 3b1920e | 2017-01-17 20:30:58 -0800 | [diff] [blame] | 21 | int dwc2_debugfs_init(struct dwc2_hsotg *hsotg); |
| 22 | void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg); |
Mian Yousaf Kaukab | f91eea4 | 2015-04-29 22:08:59 +0200 | [diff] [blame] | 23 | #else |
| 24 | static inline int dwc2_debugfs_init(struct dwc2_hsotg *hsotg) |
| 25 | { return 0; } |
| 26 | static inline void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg) |
| 27 | { } |
| 28 | #endif |