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