blob: a8c565b6bc34bbb6c9d91d6f6b092950878c2f5a [file] [log] [blame]
Greg Kroah-Hartman5fd54ac2017-11-03 11:28:30 +01001// SPDX-License-Identifier: GPL-2.0
Grigor Tovmasyan6fb914d2018-05-16 12:04:24 +04002/*
Mian Yousaf Kaukabf91eea42015-04-29 22:08:59 +02003 * 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