mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 07:08:21 -04:00
staging: ozwpan: Add module parameter description
Signed-off-by: Christoph Jaeger <email@christophjaeger.info> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5a31018845
commit
9fca4f70ed
@@ -25,6 +25,9 @@ unsigned int oz_dbg_mask = OZ_DEFAULT_DBG_MASK;
|
||||
* netcards. Bindings can be added later using an IOCTL.
|
||||
*/
|
||||
static char *g_net_dev = "";
|
||||
module_param(g_net_dev, charp, S_IRUGO);
|
||||
MODULE_PARM_DESC(g_net_dev, "The device(s) to bind to; "
|
||||
"'*' means all, '' (empty string; default) means none.");
|
||||
|
||||
/*
|
||||
* Context: process
|
||||
@@ -48,7 +51,6 @@ static void __exit ozwpan_exit(void)
|
||||
oz_cdev_deregister();
|
||||
}
|
||||
|
||||
module_param(g_net_dev, charp, S_IRUGO);
|
||||
module_init(ozwpan_init);
|
||||
module_exit(ozwpan_exit);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user