xref: /linux/drivers/crypto/caam/dpseci-debugfs.h (revision 976e3645923bdd2fe7893aae33fd7a21098bfb28)
1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
2 /* Copyright 2019 NXP */
3 
4 #ifndef DPSECI_DEBUGFS_H
5 #define DPSECI_DEBUGFS_H
6 
7 #include <linux/dcache.h>
8 #include "caamalg_qi2.h"
9 
10 #ifdef CONFIG_DEBUG_FS
11 void dpaa2_dpseci_debugfs_init(struct dpaa2_caam_priv *priv);
12 void dpaa2_dpseci_debugfs_exit(struct dpaa2_caam_priv *priv);
13 #else
dpaa2_dpseci_debugfs_init(struct dpaa2_caam_priv * priv)14 static inline void dpaa2_dpseci_debugfs_init(struct dpaa2_caam_priv *priv) {}
dpaa2_dpseci_debugfs_exit(struct dpaa2_caam_priv * priv)15 static inline void dpaa2_dpseci_debugfs_exit(struct dpaa2_caam_priv *priv) {}
16 #endif /* CONFIG_DEBUG_FS */
17 
18 #endif /* DPSECI_DEBUGFS_H */
19