Restartable sequences: powerpc architecture support
[deliverable/linux.git] / drivers / usb / dwc2 / debug.h
CommitLineData
f91eea44
MYK
1/**
2 * debug.h - Designware USB2 DRD controller debug header
3 *
4 * Copyright (C) 2015 Intel Corporation
5 * Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 of
9 * the License as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 */
16
17#include "core.h"
18
19#ifdef CONFIG_DEBUG_FS
20extern int dwc2_debugfs_init(struct dwc2_hsotg *);
21extern void dwc2_debugfs_exit(struct dwc2_hsotg *);
22#else
23static inline int dwc2_debugfs_init(struct dwc2_hsotg *hsotg)
24{ return 0; }
25static inline void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg)
26{ }
27#endif
This page took 0.095387 seconds and 5 git commands to generate.