diff options
Diffstat (limited to 'include/linux/wimax')
-rw-r--r-- | include/linux/wimax/debug.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/include/linux/wimax/debug.h b/include/linux/wimax/debug.h index aaf24ba12c4d..7cb63e4ec0ae 100644 --- a/include/linux/wimax/debug.h +++ b/include/linux/wimax/debug.h | |||
@@ -1,29 +1,13 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Linux WiMAX | 3 | * Linux WiMAX |
3 | * Collection of tools to manage debug operations. | 4 | * Collection of tools to manage debug operations. |
4 | * | 5 | * |
5 | * | ||
6 | * Copyright (C) 2005-2007 Intel Corporation | 6 | * Copyright (C) 2005-2007 Intel Corporation |
7 | * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> | 7 | * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> |
8 | * | 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 | * | ||
24 | * Don't #include this file directly, read on! | 9 | * Don't #include this file directly, read on! |
25 | * | 10 | * |
26 | * | ||
27 | * EXECUTING DEBUGGING ACTIONS OR NOT | 11 | * EXECUTING DEBUGGING ACTIONS OR NOT |
28 | * | 12 | * |
29 | * The main thing this framework provides is decission power to take a | 13 | * The main thing this framework provides is decission power to take a |
@@ -43,7 +27,6 @@ | |||
43 | * always false at compile time will get the code depending on it | 27 | * always false at compile time will get the code depending on it |
44 | * compiled out by optimization. | 28 | * compiled out by optimization. |
45 | * | 29 | * |
46 | * | ||
47 | * DEBUG LEVELS | 30 | * DEBUG LEVELS |
48 | * | 31 | * |
49 | * It is up to the caller to define how much a debugging level is. | 32 | * It is up to the caller to define how much a debugging level is. |
@@ -52,14 +35,12 @@ | |||
52 | * will always be taken). The increasing debug levels are used for | 35 | * will always be taken). The increasing debug levels are used for |
53 | * increased verbosity. | 36 | * increased verbosity. |
54 | * | 37 | * |
55 | * | ||
56 | * USAGE | 38 | * USAGE |
57 | * | 39 | * |
58 | * Group the code in modules and submodules inside each module [which | 40 | * Group the code in modules and submodules inside each module [which |
59 | * in most cases maps to Linux modules and .c files that compose | 41 | * in most cases maps to Linux modules and .c files that compose |
60 | * those]. | 42 | * those]. |
61 | * | 43 | * |
62 | * | ||
63 | * For each module, there is: | 44 | * For each module, there is: |
64 | * | 45 | * |
65 | * - a MODULENAME (single word, legal C identifier) | 46 | * - a MODULENAME (single word, legal C identifier) |
@@ -128,7 +109,6 @@ | |||
128 | * NOTE: remember that even if this will show attached to some | 109 | * NOTE: remember that even if this will show attached to some |
129 | * particular instance of a device, the settings are *global*. | 110 | * particular instance of a device, the settings are *global*. |
130 | * | 111 | * |
131 | * | ||
132 | * On each submodule (for example, .c files), the debug infrastructure | 112 | * On each submodule (for example, .c files), the debug infrastructure |
133 | * should be included like this: | 113 | * should be included like this: |
134 | * | 114 | * |
@@ -137,7 +117,6 @@ | |||
137 | * | 117 | * |
138 | * after #including all your include files. | 118 | * after #including all your include files. |
139 | * | 119 | * |
140 | * | ||
141 | * Now you can use the d_*() macros below [d_test(), d_fnstart(), | 120 | * Now you can use the d_*() macros below [d_test(), d_fnstart(), |
142 | * d_fnend(), d_printf(), d_dump()]. | 121 | * d_fnend(), d_printf(), d_dump()]. |
143 | * | 122 | * |