]> Git Repo - J-linux.git/blob - drivers/crypto/intel/qat/qat_common/adf_dbgfs.h
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / drivers / crypto / intel / qat / qat_common / adf_dbgfs.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright(c) 2023 Intel Corporation */
3
4 #ifndef ADF_DBGFS_H
5 #define ADF_DBGFS_H
6
7 #ifdef CONFIG_DEBUG_FS
8 void adf_dbgfs_init(struct adf_accel_dev *accel_dev);
9 void adf_dbgfs_add(struct adf_accel_dev *accel_dev);
10 void adf_dbgfs_rm(struct adf_accel_dev *accel_dev);
11 void adf_dbgfs_exit(struct adf_accel_dev *accel_dev);
12 #else
13 static inline void adf_dbgfs_init(struct adf_accel_dev *accel_dev)
14 {
15 }
16
17 static inline void adf_dbgfs_add(struct adf_accel_dev *accel_dev)
18 {
19 }
20
21 static inline void adf_dbgfs_rm(struct adf_accel_dev *accel_dev)
22 {
23 }
24
25 static inline void adf_dbgfs_exit(struct adf_accel_dev *accel_dev)
26 {
27 }
28 #endif
29 #endif
This page took 0.02768 seconds and 4 git commands to generate.