Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at nocache-cleanup 20 lines 673 B view raw
1/* SPDX-License-Identifier: GPL-2.0-only */ 2 3/* Copyright (c) 2020, The Linux Foundation. All rights reserved. */ 4/* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. */ 5 6#ifndef __QAIC_DEBUGFS_H__ 7#define __QAIC_DEBUGFS_H__ 8 9#include <drm/drm_file.h> 10 11#ifdef CONFIG_DEBUG_FS 12int qaic_bootlog_register(void); 13void qaic_bootlog_unregister(void); 14void qaic_debugfs_init(struct qaic_drm_device *qddev); 15#else 16static inline int qaic_bootlog_register(void) { return 0; } 17static inline void qaic_bootlog_unregister(void) {} 18static inline void qaic_debugfs_init(struct qaic_drm_device *qddev) {} 19#endif /* CONFIG_DEBUG_FS */ 20#endif /* __QAIC_DEBUGFS_H__ */