mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 02:23:05 +00:00
Only compile ivpu_debugfs.c file with CONFIG_DEBUG_FS. Reviewed-by: Jeffrey Hugo <[email protected]> Signed-off-by: Stanislaw Gruszka <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
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__ */
|