25 lines
760 B
C
25 lines
760 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright(c) 2017 - 2019 Pensando Systems, Inc */
|
|
|
|
#ifndef _IONIC_DEBUGFS_H_
|
|
#define _IONIC_DEBUGFS_H_
|
|
|
|
#include <linux/debugfs.h>
|
|
|
|
#ifdef CONFIG_DEBUG_FS
|
|
|
|
void ionic_debugfs_create(void);
|
|
void ionic_debugfs_destroy(void);
|
|
void ionic_debugfs_add_dev(struct ionic *ionic);
|
|
void ionic_debugfs_del_dev(struct ionic *ionic);
|
|
void ionic_debugfs_add_ident(struct ionic *ionic);
|
|
#else
|
|
static inline void ionic_debugfs_create(void) { }
|
|
static inline void ionic_debugfs_destroy(void) { }
|
|
static inline void ionic_debugfs_add_dev(struct ionic *ionic) { }
|
|
static inline void ionic_debugfs_del_dev(struct ionic *ionic) { }
|
|
static inline void ionic_debugfs_add_ident(struct ionic *ionic) { }
|
|
#endif
|
|
|
|
#endif /* _IONIC_DEBUGFS_H_ */
|