162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * debug.h - Designware USB2 DRD controller debug header
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright (C) 2015 Intel Corporation
662306a36Sopenharmony_ci * Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
762306a36Sopenharmony_ci */
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#include "core.h"
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#ifdef CONFIG_DEBUG_FS
1262306a36Sopenharmony_ciint dwc2_debugfs_init(struct dwc2_hsotg *hsotg);
1362306a36Sopenharmony_civoid dwc2_debugfs_exit(struct dwc2_hsotg *hsotg);
1462306a36Sopenharmony_ci#else
1562306a36Sopenharmony_cistatic inline int dwc2_debugfs_init(struct dwc2_hsotg *hsotg)
1662306a36Sopenharmony_ci{  return 0;  }
1762306a36Sopenharmony_cistatic inline void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg)
1862306a36Sopenharmony_ci{  }
1962306a36Sopenharmony_ci#endif
20