Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / accel / qaic / qaic_debugfs.h
blob05e74f84cf9f025c9d50c0d6ba45481f0d5c6486
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 /* Copyright (c) 2020, The Linux Foundation. All rights reserved. */
4 /* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. */
6 #ifndef __QAIC_DEBUGFS_H__
7 #define __QAIC_DEBUGFS_H__
9 #include <drm/drm_file.h>
11 #ifdef CONFIG_DEBUG_FS
12 int qaic_bootlog_register(void);
13 void qaic_bootlog_unregister(void);
14 void qaic_debugfs_init(struct qaic_drm_device *qddev);
15 #else
16 static inline int qaic_bootlog_register(void) { return 0; }
17 static inline void qaic_bootlog_unregister(void) {}
18 static inline void qaic_debugfs_init(struct qaic_drm_device *qddev) {}
19 #endif /* CONFIG_DEBUG_FS */
20 #endif /* __QAIC_DEBUGFS_H__ */