IB/ipath: Fix module parameter description for disable_sma
authorPaul Bolle <pebolle@tiscali.nl>
Tue, 22 Apr 2008 01:19:13 +0000 (18:19 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 22 Apr 2008 01:19:13 +0000 (18:19 -0700)
Describe disable_sma parameter with its name rather than the internal
ib_ipath_disable_sma variable name, so that the description shows up
properly in modinfo.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Acked-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_verbs.c

index c38f9aa8be8dc000c26124da1477759a5a20fa76..2de8446bd37553926590fd2a8f0c2a7fa4e11fd7 100644 (file)
@@ -109,7 +109,7 @@ MODULE_PARM_DESC(max_srq_wrs, "Maximum number of SRQ WRs support");
 
 static unsigned int ib_ipath_disable_sma;
 module_param_named(disable_sma, ib_ipath_disable_sma, uint, S_IWUSR | S_IRUGO);
-MODULE_PARM_DESC(ib_ipath_disable_sma, "Disable the SMA");
+MODULE_PARM_DESC(disable_sma, "Disable the SMA");
 
 const int ib_ipath_state_ops[IB_QPS_ERR + 1] = {
        [IB_QPS_RESET] = 0,