Commit 1b255c92 authored by Arend van Spriel's avatar Arend van Spriel Committed by John W. Linville

brcmfmac: make debug module parameter more clear

The module parameter definition for brcmf_msg_level has been
reworked to a named module parameter with description so
modinfo is a bit more informative:

parm:           debug:level of debug output (int)
Reviewed-by: default avatarHante Meuleman <meuleman@broadcom.com>
Reviewed-by: default avatarPiotr Haber <phaber@broadcom.com>
Signed-off-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent e5483576
...@@ -40,7 +40,8 @@ MODULE_LICENSE("Dual BSD/GPL"); ...@@ -40,7 +40,8 @@ MODULE_LICENSE("Dual BSD/GPL");
/* Error bits */ /* Error bits */
int brcmf_msg_level; int brcmf_msg_level;
module_param(brcmf_msg_level, int, 0); module_param_named(debug, brcmf_msg_level, int, S_IRUSR | S_IWUSR);
MODULE_PARM_DESC(debug, "level of debug output");
/* P2P0 enable */ /* P2P0 enable */
static int brcmf_p2p_enable; static int brcmf_p2p_enable;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment