brintos

brintos / linux-shallow public Read only

0
0
Text · 673 B · 05e74f8 Raw
21 lines · c
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_FS12int qaic_bootlog_register(void);13void qaic_bootlog_unregister(void);14void qaic_debugfs_init(struct qaic_drm_device *qddev);15#else16static 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__ */21