linux/drivers/crypto/ccree/cc_debugfs.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2/* Copyright (C) 2012-2018 ARM Limited or its affiliates. */
   3
   4#ifndef __CC_DEBUGFS_H__
   5#define __CC_DEBUGFS_H__
   6
   7#ifdef CONFIG_DEBUG_FS
   8int cc_debugfs_global_init(void);
   9void cc_debugfs_global_fini(void);
  10
  11int cc_debugfs_init(struct cc_drvdata *drvdata);
  12void cc_debugfs_fini(struct cc_drvdata *drvdata);
  13
  14#else
  15
  16static inline int cc_debugfs_global_init(void)
  17{
  18        return 0;
  19}
  20
  21static inline void cc_debugfs_global_fini(void) {}
  22
  23static inline int cc_debugfs_init(struct cc_drvdata *drvdata)
  24{
  25        return 0;
  26}
  27
  28static inline void cc_debugfs_fini(struct cc_drvdata *drvdata) {}
  29
  30#endif
  31
  32#endif /*__CC_SYSFS_H__*/
  33