mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 23:51:39 +00:00
d776f654d0
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
18 lines
365 B
C
18 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__ */
|