18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * debug.h - Designware USB2 DRD controller debug header
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (C) 2015 Intel Corporation
68c2ecf20Sopenharmony_ci * Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
78c2ecf20Sopenharmony_ci */
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#include "core.h"
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#ifdef CONFIG_DEBUG_FS
128c2ecf20Sopenharmony_ciint dwc2_debugfs_init(struct dwc2_hsotg *hsotg);
138c2ecf20Sopenharmony_civoid dwc2_debugfs_exit(struct dwc2_hsotg *hsotg);
148c2ecf20Sopenharmony_ci#else
158c2ecf20Sopenharmony_cistatic inline int dwc2_debugfs_init(struct dwc2_hsotg *hsotg)
168c2ecf20Sopenharmony_ci{  return 0;  }
178c2ecf20Sopenharmony_cistatic inline void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg)
188c2ecf20Sopenharmony_ci{  }
198c2ecf20Sopenharmony_ci#endif
20