18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Intel(R) Trace Hub driver debugging 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2014-2015 Intel Corporation. 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#ifndef __INTEL_TH_DEBUG_H__ 98c2ecf20Sopenharmony_ci#define __INTEL_TH_DEBUG_H__ 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#ifdef CONFIG_INTEL_TH_DEBUG 128c2ecf20Sopenharmony_ciextern struct dentry *intel_th_dbg; 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_civoid intel_th_debug_init(void); 158c2ecf20Sopenharmony_civoid intel_th_debug_done(void); 168c2ecf20Sopenharmony_ci#else 178c2ecf20Sopenharmony_cistatic inline void intel_th_debug_init(void) 188c2ecf20Sopenharmony_ci{ 198c2ecf20Sopenharmony_ci} 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_cistatic inline void intel_th_debug_done(void) 228c2ecf20Sopenharmony_ci{ 238c2ecf20Sopenharmony_ci} 248c2ecf20Sopenharmony_ci#endif 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci#endif /* __INTEL_TH_DEBUG_H__ */ 27