xref: /linux/drivers/net/wwan/iosm/iosm_ipc_debugfs.h (revision 03ab8e6297acd1bc0eedaa050e2a1635c576fd11)
1 /* SPDX-License-Identifier: GPL-2.0-only
2  *
3  * Copyright (C) 2020-2021 Intel Corporation.
4  */
5 
6 #ifndef IOSM_IPC_DEBUGFS_H
7 #define IOSM_IPC_DEBUGFS_H
8 
9 #ifdef CONFIG_WWAN_DEBUGFS
10 void ipc_debugfs_init(struct iosm_imem *ipc_imem);
11 void ipc_debugfs_deinit(struct iosm_imem *ipc_imem);
12 #else
ipc_debugfs_init(struct iosm_imem * ipc_imem)13 static inline void ipc_debugfs_init(struct iosm_imem *ipc_imem) {}
ipc_debugfs_deinit(struct iosm_imem * ipc_imem)14 static inline void ipc_debugfs_deinit(struct iosm_imem *ipc_imem) {}
15 #endif
16 
17 #endif
18