Alexander Shishkin | 50352fa | 2018-03-28 18:46:15 +0300 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Alexander Shishkin | 39f4034 | 2015-09-22 15:47:14 +0300 | [diff] [blame] | 2 | /* |
| 3 | * Intel(R) Trace Hub driver debugging |
| 4 | * |
| 5 | * Copyright (C) 2014-2015 Intel Corporation. |
Alexander Shishkin | 39f4034 | 2015-09-22 15:47:14 +0300 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __INTEL_TH_DEBUG_H__ |
| 9 | #define __INTEL_TH_DEBUG_H__ |
| 10 | |
| 11 | #ifdef CONFIG_INTEL_TH_DEBUG |
| 12 | extern struct dentry *intel_th_dbg; |
| 13 | |
| 14 | void intel_th_debug_init(void); |
| 15 | void intel_th_debug_done(void); |
| 16 | #else |
| 17 | static inline void intel_th_debug_init(void) |
| 18 | { |
| 19 | } |
| 20 | |
| 21 | static inline void intel_th_debug_done(void) |
| 22 | { |
| 23 | } |
| 24 | #endif |
| 25 | |
| 26 | #endif /* __INTEL_TH_DEBUG_H__ */ |