mm/hmm.c: remove superfluous RCU protection around radix tree lookup
[linux/fpc-iii.git] / drivers / crypto / ccree / cc_debugfs.h
blob5b5320eca7d2e66e588701b08b7f58050319a2d5
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2012-2018 ARM Limited or its affiliates. */
4 #ifndef __CC_DEBUGFS_H__
5 #define __CC_DEBUGFS_H__
7 #ifdef CONFIG_DEBUG_FS
8 int cc_debugfs_global_init(void);
9 void cc_debugfs_global_fini(void);
11 int cc_debugfs_init(struct cc_drvdata *drvdata);
12 void cc_debugfs_fini(struct cc_drvdata *drvdata);
14 #else
16 static inline int cc_debugfs_global_init(void)
18 return 0;
21 static inline void cc_debugfs_global_fini(void) {}
23 static inline int cc_debugfs_init(struct cc_drvdata *drvdata)
25 return 0;
28 static inline void cc_debugfs_fini(struct cc_drvdata *drvdata) {}
30 #endif
32 #endif /*__CC_SYSFS_H__*/