]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/usb/dwc2/debug.h
usb: typec: ucsi: acpi: Workaround for cache mode issue
[mirror_ubuntu-bionic-kernel.git] / drivers / usb / dwc2 / debug.h
CommitLineData
5fd54ace 1// SPDX-License-Identifier: GPL-2.0
f91eea44
MYK
2/**
3 * debug.h - Designware USB2 DRD controller debug header
4 *
5 * Copyright (C) 2015 Intel Corporation
6 * Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
f91eea44
MYK
7 */
8
9#include "core.h"
10
11#ifdef CONFIG_DEBUG_FS
3b1920e7
JY
12int dwc2_debugfs_init(struct dwc2_hsotg *hsotg);
13void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg);
f91eea44
MYK
14#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