blob: 6f23219c13cb189f0270b27d3d5faf73da9bbd15 [file] [log] [blame]
Greg Kroah-Hartman5fd54ac2017-11-03 11:28:30 +01001// SPDX-License-Identifier: GPL-2.0
Mian Yousaf Kaukabf91eea42015-04-29 22:08:59 +02002/**
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 Kaukabf91eea42015-04-29 22:08:59 +02007 */
8
9#include "core.h"
10
11#ifdef CONFIG_DEBUG_FS
John Youn3b1920e2017-01-17 20:30:58 -080012int dwc2_debugfs_init(struct dwc2_hsotg *hsotg);
13void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg);
Mian Yousaf Kaukabf91eea42015-04-29 22:08:59 +020014#else
15static inline int dwc2_debugfs_init(struct dwc2_hsotg *hsotg)
16{ return 0; }
17static inline void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg)
18{ }
19#endif