diff options
| author | Takashi Iwai <tiwai@suse.de> | 2009-12-15 04:29:06 -0500 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2009-12-15 04:29:06 -0500 |
| commit | 709334c87dbdb44150ce436b3d13c814db0dcae9 (patch) | |
| tree | 5861a45f70c1f283720337abd864498f5afb3dbe /net/wimax/stack.c | |
| parent | 0d64b568fcd48b133721c1d322e7c51d85eb12df (diff) | |
| parent | f74890277a196949e4004fe2955e1d4fb3930f98 (diff) | |
Merge branch 'fixes' of git://git.alsa-project.org/alsa-kernel into for-linus
Diffstat (limited to 'net/wimax/stack.c')
| -rw-r--r-- | net/wimax/stack.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/wimax/stack.c b/net/wimax/stack.c index 79fb7d7c640f..c8866412f830 100644 --- a/net/wimax/stack.c +++ b/net/wimax/stack.c | |||
| @@ -60,6 +60,14 @@ | |||
| 60 | #define D_SUBMODULE stack | 60 | #define D_SUBMODULE stack |
| 61 | #include "debug-levels.h" | 61 | #include "debug-levels.h" |
| 62 | 62 | ||
| 63 | static char wimax_debug_params[128]; | ||
| 64 | module_param_string(debug, wimax_debug_params, sizeof(wimax_debug_params), | ||
| 65 | 0644); | ||
| 66 | MODULE_PARM_DESC(debug, | ||
| 67 | "String of space-separated NAME:VALUE pairs, where NAMEs " | ||
| 68 | "are the different debug submodules and VALUE are the " | ||
| 69 | "initial debug value to set."); | ||
| 70 | |||
| 63 | /* | 71 | /* |
| 64 | * Authoritative source for the RE_STATE_CHANGE attribute policy | 72 | * Authoritative source for the RE_STATE_CHANGE attribute policy |
| 65 | * | 73 | * |
| @@ -562,6 +570,9 @@ int __init wimax_subsys_init(void) | |||
| 562 | int result, cnt; | 570 | int result, cnt; |
| 563 | 571 | ||
| 564 | d_fnstart(4, NULL, "()\n"); | 572 | d_fnstart(4, NULL, "()\n"); |
| 573 | d_parse_params(D_LEVEL, D_LEVEL_SIZE, wimax_debug_params, | ||
| 574 | "wimax.debug"); | ||
| 575 | |||
| 565 | snprintf(wimax_gnl_family.name, sizeof(wimax_gnl_family.name), | 576 | snprintf(wimax_gnl_family.name, sizeof(wimax_gnl_family.name), |
| 566 | "WiMAX"); | 577 | "WiMAX"); |
| 567 | result = genl_register_family(&wimax_gnl_family); | 578 | result = genl_register_family(&wimax_gnl_family); |
