netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] compile error in ieee80211_ioctl.c
@ 2006-04-24  0:26 Alex Davis
  2006-04-24  1:53 ` Randy.Dunlap
  0 siblings, 1 reply; 6+ messages in thread
From: Alex Davis @ 2006-04-24  0:26 UTC (permalink / raw)
  To: linville, netdev

Hello:

I cloned git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-dev.git
last night and got compile errors while compiling net/d80211/ieee80211_ioctl.c
into a module. This patch fixes it.

Signed-off-by: Alex Davis <alex14641@yahoo.com>

diff --git a/net/d80211/ieee80211_ioctl.c b/net/d80211/ieee80211_ioctl.c
index 42a7abe..4949e52 100644
--- a/net/d80211/ieee80211_ioctl.c
+++ b/net/d80211/ieee80211_ioctl.c
@@ -30,7 +30,7 @@ #include "aes_ccm.h"
 
 
 static int ieee80211_regdom = 0x10; /* FCC */
-MODULE_PARM(ieee80211_regdom, "i");
+module_param(ieee80211_regdom, int, 0x10);
 MODULE_PARM_DESC(ieee80211_regdom, "IEEE 802.11 regulatory domain; 64=MKK");
 
 /*
@@ -40,7 +40,7 @@ MODULE_PARM_DESC(ieee80211_regdom, "IEEE
  * module.
  */
 static int ieee80211_japan_5ghz /* = 0 */;
-MODULE_PARM(ieee80211_japan_5ghz, "i");
+module_param(ieee80211_japan_5ghz, int, 0);
 MODULE_PARM_DESC(ieee80211_japan_5ghz, "Vendor-updated firmware for 5 GHz");
 


I code, therefore I am

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-05-05  2:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20060425211236.GC19116@tuxdriver.com>
2006-04-26 16:29 ` [PATCH] compile error in ieee80211_ioctl.c Alex Davis
2006-04-26 16:37   ` Jiri Benc
2006-04-26 20:49     ` John W. Linville
2006-05-05  2:37       ` iwconfig shows Encrypt key off when using WEP Alex Davis
2006-04-24  0:26 [PATCH] compile error in ieee80211_ioctl.c Alex Davis
2006-04-24  1:53 ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).