.. | .. |
---|
18 | 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
19 | 19 | * General Public License for more details. |
---|
20 | 20 | * |
---|
21 | | - * You should have received a copy of the GNU General Public License |
---|
22 | | - * along with this program. |
---|
23 | | - * |
---|
24 | 21 | * The full GNU General Public License is included in this distribution |
---|
25 | 22 | * in the file called COPYING. |
---|
26 | 23 | * |
---|
.. | .. |
---|
66 | 63 | #include "runtime.h" |
---|
67 | 64 | |
---|
68 | 65 | #ifdef CONFIG_IWLWIFI_DEBUGFS |
---|
69 | | -int iwl_fwrt_dbgfs_register(struct iwl_fw_runtime *fwrt, |
---|
| 66 | +void iwl_fwrt_dbgfs_register(struct iwl_fw_runtime *fwrt, |
---|
70 | 67 | struct dentry *dbgfs_dir); |
---|
71 | 68 | |
---|
72 | 69 | #else |
---|
73 | | -static inline int iwl_fwrt_dbgfs_register(struct iwl_fw_runtime *fwrt, |
---|
74 | | - struct dentry *dbgfs_dir) |
---|
75 | | -{ |
---|
76 | | - return 0; |
---|
77 | | -} |
---|
| 70 | +static inline void iwl_fwrt_dbgfs_register(struct iwl_fw_runtime *fwrt, |
---|
| 71 | + struct dentry *dbgfs_dir) { } |
---|
78 | 72 | |
---|
79 | 73 | #endif /* CONFIG_IWLWIFI_DEBUGFS */ |
---|