| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Linux WiMAX |
|---|
| 3 | 4 | * Internal API for kernel space WiMAX stack |
|---|
| 4 | 5 | * |
|---|
| 5 | | - * |
|---|
| 6 | 6 | * Copyright (C) 2007 Intel Corporation <linux-wimax@intel.com> |
|---|
| 7 | 7 | * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is free software; you can redistribute it and/or |
|---|
| 10 | | - * modify it under the terms of the GNU General Public License version |
|---|
| 11 | | - * 2 as published by the Free Software Foundation. |
|---|
| 12 | | - * |
|---|
| 13 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 14 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 15 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 16 | | - * GNU General Public License for more details. |
|---|
| 17 | | - * |
|---|
| 18 | | - * You should have received a copy of the GNU General Public License |
|---|
| 19 | | - * along with this program; if not, write to the Free Software |
|---|
| 20 | | - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
|---|
| 21 | | - * 02110-1301, USA. |
|---|
| 22 | | - * |
|---|
| 23 | 8 | * |
|---|
| 24 | 9 | * This header file is for declarations and definitions internal to |
|---|
| 25 | 10 | * the WiMAX stack. For public APIs and documentation, see |
|---|
| .. | .. |
|---|
| 72 | 57 | void __wimax_state_change(struct wimax_dev *, enum wimax_st); |
|---|
| 73 | 58 | |
|---|
| 74 | 59 | #ifdef CONFIG_DEBUG_FS |
|---|
| 75 | | -int wimax_debugfs_add(struct wimax_dev *); |
|---|
| 60 | +void wimax_debugfs_add(struct wimax_dev *); |
|---|
| 76 | 61 | void wimax_debugfs_rm(struct wimax_dev *); |
|---|
| 77 | 62 | #else |
|---|
| 78 | | -static inline int wimax_debugfs_add(struct wimax_dev *wimax_dev) |
|---|
| 79 | | -{ |
|---|
| 80 | | - return 0; |
|---|
| 81 | | -} |
|---|
| 63 | +static inline void wimax_debugfs_add(struct wimax_dev *wimax_dev) {} |
|---|
| 82 | 64 | static inline void wimax_debugfs_rm(struct wimax_dev *wimax_dev) {} |
|---|
| 83 | 65 | #endif |
|---|
| 84 | 66 | |
|---|