summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRuslan Pisarev <ruslan@rpisarev.org.ua>2010-03-15 16:13:04 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-11 11:35:47 -0700
commit8eb3e22e56ee35a6a65c956bd2862c8247443cbd (patch)
tree1a2c48a892aa71e9252f5967d613c04c5156f64f /drivers
parentfb549675ffc09afecea771229ce48a33c7ea604e (diff)
Staging: wavelan: fix initialise statics to 0 in wavelan_cs.p.h
This is a patch to the wavelan_cs.p.h fix initialise statics to 0 Errors found by the checkpatch.pl tools, like ERROR: do not initialise statics to 0 or NULL Signed-off-by: Ruslan Pisarev <ruslan@rpisarev.org.ua> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/wavelan/wavelan_cs.p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wavelan/wavelan_cs.p.h b/drivers/staging/wavelan/wavelan_cs.p.h
index 9427eb2727a1..7196267976f0 100644
--- a/drivers/staging/wavelan/wavelan_cs.p.h
+++ b/drivers/staging/wavelan/wavelan_cs.p.h
@@ -745,14 +745,14 @@ static void
*/
/* Shared memory speed, in ns */
-static int mem_speed = 0;
+static int mem_speed;
/* New module interface */
module_param(mem_speed, int, 0);
#ifdef WAVELAN_ROAMING /* Conditional compile, see above in options */
/* Enable roaming mode ? No ! Please keep this to 0 */
-static int do_roaming = 0;
+static int do_roaming;
module_param(do_roaming, bool, 0);
#endif /* WAVELAN_ROAMING */