| .. | .. |
|---|
| 16 | 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 17 | 17 | * General Public License for more details. |
|---|
| 18 | 18 | * |
|---|
| 19 | | - * You should have received a copy of the GNU General Public License |
|---|
| 20 | | - * along with this program; if not, write to the Free Software |
|---|
| 21 | | - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, |
|---|
| 22 | | - * USA |
|---|
| 23 | | - * |
|---|
| 24 | 19 | * The full GNU General Public License is included in this distribution |
|---|
| 25 | 20 | * in the file called COPYING. |
|---|
| 26 | 21 | * |
|---|
| .. | .. |
|---|
| 444 | 439 | } |
|---|
| 445 | 440 | |
|---|
| 446 | 441 | #ifdef CONFIG_IWLWIFI_DEBUGFS |
|---|
| 447 | | -int iwl_dbgfs_register(struct iwl_priv *priv, struct dentry *dbgfs_dir); |
|---|
| 442 | +void iwl_dbgfs_register(struct iwl_priv *priv, struct dentry *dbgfs_dir); |
|---|
| 448 | 443 | #else |
|---|
| 449 | | -static inline int iwl_dbgfs_register(struct iwl_priv *priv, |
|---|
| 450 | | - struct dentry *dbgfs_dir) |
|---|
| 451 | | -{ |
|---|
| 452 | | - return 0; |
|---|
| 453 | | -} |
|---|
| 444 | +static inline void iwl_dbgfs_register(struct iwl_priv *priv, |
|---|
| 445 | + struct dentry *dbgfs_dir) { } |
|---|
| 454 | 446 | #endif /* CONFIG_IWLWIFI_DEBUGFS */ |
|---|
| 455 | 447 | |
|---|
| 456 | 448 | #ifdef CONFIG_IWLWIFI_DEBUG |
|---|