Greg Kroah-Hartman | 5fd54ac | 2017-11-03 11:28:30 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Grigor Tovmasyan | 6fb914d | 2018-05-16 12:04:24 +0400 | [diff] [blame] | 2 | /* |
Mian Yousaf Kaukab | f91eea4 | 2015-04-29 22:08:59 +0200 | [diff] [blame] | 3 | * debug.h - Designware USB2 DRD controller debug header |
| 4 | * |
| 5 | * Copyright (C) 2015 Intel Corporation |
| 6 | * Mian Yousaf Kaukab <yousaf.kaukab@intel.com> |
Mian Yousaf Kaukab | f91eea4 | 2015-04-29 22:08:59 +0200 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #include "core.h" |
| 10 | |
| 11 | #ifdef CONFIG_DEBUG_FS |
John Youn | 3b1920e | 2017-01-17 20:30:58 -0800 | [diff] [blame] | 12 | int dwc2_debugfs_init(struct dwc2_hsotg *hsotg); |
| 13 | void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg); |
Mian Yousaf Kaukab | f91eea4 | 2015-04-29 22:08:59 +0200 | [diff] [blame] | 14 | #else |
| 15 | static inline int dwc2_debugfs_init(struct dwc2_hsotg *hsotg) |
| 16 | { return 0; } |
| 17 | static inline void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg) |
| 18 | { } |
| 19 | #endif |