Linux Audio

Check our new training course

Loading...
v4.6
 
 1/*
 2 * Intel(R) Trace Hub driver debugging
 3 *
 4 * Copyright (C) 2014-2015 Intel Corporation.
 5 *
 6 * This program is free software; you can redistribute it and/or modify it
 7 * under the terms and conditions of the GNU General Public License,
 8 * version 2, as published by the Free Software Foundation.
 9 *
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
13 * more details.
14 */
15
16#ifndef __INTEL_TH_DEBUG_H__
17#define __INTEL_TH_DEBUG_H__
18
19#ifdef CONFIG_INTEL_TH_DEBUG
20extern struct dentry *intel_th_dbg;
21
22void intel_th_debug_init(void);
23void intel_th_debug_done(void);
24#else
25static inline void intel_th_debug_init(void)
26{
27}
28
29static inline void intel_th_debug_done(void)
30{
31}
32#endif
33
34#endif /* __INTEL_TH_DEBUG_H__ */
v6.8
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/*
 3 * Intel(R) Trace Hub driver debugging
 4 *
 5 * Copyright (C) 2014-2015 Intel Corporation.
 
 
 
 
 
 
 
 
 
 6 */
 7
 8#ifndef __INTEL_TH_DEBUG_H__
 9#define __INTEL_TH_DEBUG_H__
10
11#ifdef CONFIG_INTEL_TH_DEBUG
12extern struct dentry *intel_th_dbg;
13
14void intel_th_debug_init(void);
15void intel_th_debug_done(void);
16#else
17static inline void intel_th_debug_init(void)
18{
19}
20
21static inline void intel_th_debug_done(void)
22{
23}
24#endif
25
26#endif /* __INTEL_TH_DEBUG_H__ */