mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 18:30:06 +00:00
![Stanislaw Gruszka](/assets/img/avatar_default.png)
Only compile ivpu_debugfs.c file with CONFIG_DEBUG_FS. Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com> Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230907072610.433497-2-stanislaw.gruszka@linux.intel.com
17 lines
365 B
C
17 lines
365 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) 2020-2023 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __IVPU_DEBUGFS_H__
|
|
#define __IVPU_DEBUGFS_H__
|
|
|
|
struct ivpu_device;
|
|
|
|
#if defined(CONFIG_DEBUG_FS)
|
|
void ivpu_debugfs_init(struct ivpu_device *vdev);
|
|
#else
|
|
static inline void ivpu_debugfs_init(struct ivpu_device *vdev) { }
|
|
#endif
|
|
|
|
#endif /* __IVPU_DEBUGFS_H__ */
|