diff options
author | Christoph Jaeger <email@christophjaeger.info> | 2014-08-04 12:54:47 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-16 19:23:11 (GMT) |
commit | 9fca4f70edbdf7052458b21545d860637c41f863 (patch) | |
tree | 116f6dc118ac55f940d3396760f8bb09f2a77d1d /drivers/staging/ozwpan | |
parent | 5a3101884571e6a1aaf307620178f7532f3284ad (diff) | |
download | linux-9fca4f70edbdf7052458b21545d860637c41f863.tar.xz |
staging: ozwpan: Add module parameter description
Signed-off-by: Christoph Jaeger <email@christophjaeger.info>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ozwpan')
-rw-r--r-- | drivers/staging/ozwpan/ozmain.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/ozwpan/ozmain.c b/drivers/staging/ozwpan/ozmain.c index d1a5b7a..7d6ef4c 100644 --- a/drivers/staging/ozwpan/ozmain.c +++ b/drivers/staging/ozwpan/ozmain.c @@ -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); |