Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / drivers / usb / dwc2 / debug.h
blob6f23219c13cb189f0270b27d3d5faf73da9bbd15
1 // SPDX-License-Identifier: GPL-2.0
2 /**
3 * debug.h - Designware USB2 DRD controller debug header
5 * Copyright (C) 2015 Intel Corporation
6 * Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
7 */
9 #include "core.h"
11 #ifdef CONFIG_DEBUG_FS
12 int dwc2_debugfs_init(struct dwc2_hsotg *hsotg);
13 void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg);
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