xref: /freebsd/sys/contrib/dev/iwlwifi/fw/debugfs.h (revision fe75646a0234a261c0013bf1840fdac4acaf0cec)
1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2 /*
3  * Copyright (C) 2012-2014 Intel Corporation
4  * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5  * Copyright (C) 2016-2017 Intel Deutschland GmbH
6  */
7 #include "runtime.h"
8 
9 #ifdef CONFIG_IWLWIFI_DEBUGFS
10 void iwl_fwrt_dbgfs_register(struct iwl_fw_runtime *fwrt,
11 			    struct dentry *dbgfs_dir);
12 
13 #else
14 static inline void iwl_fwrt_dbgfs_register(struct iwl_fw_runtime *fwrt,
15 					   struct dentry *dbgfs_dir) { }
16 
17 #endif /* CONFIG_IWLWIFI_DEBUGFS */
18