From: Mark Einon Date: Sat, 6 Nov 2010 14:44:33 +0000 (+0100) Subject: rt2x00: checkpatch.pl error fixes for rt2500usb.c X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=cf553477a4dfb819c66ebfcad9f3b5cc3b93a9af;p=openwrt%2Fstaging%2Fblogic.git rt2x00: checkpatch.pl error fixes for rt2500usb.c rt2500usb.c:42: ERROR: do not initialise statics to 0 or NULL Signed-off-by: Mark Einon Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c index 478c4f127ce6..10e51f208f07 100644 --- a/drivers/net/wireless/rt2x00/rt2500usb.c +++ b/drivers/net/wireless/rt2x00/rt2500usb.c @@ -39,7 +39,7 @@ /* * Allow hardware encryption to be disabled. */ -static int modparam_nohwcrypt = 0; +static int modparam_nohwcrypt; module_param_named(nohwcrypt, modparam_nohwcrypt, bool, S_IRUGO); MODULE_PARM_DESC(nohwcrypt, "Disable hardware encryption.");