Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
* [PATCH 2.6] convert netrom to module_param
@ 2004-07-29 18:36 Stephen Hemminger
  2004-07-29 23:02 ` David S. Miller
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Stephen Hemminger @ 2004-07-29 18:36 UTC (permalink / raw)
  To: David S. Miller, Ralf Baechel; +Cc: netdev, linux-hams

Convert Netrom to use module_param

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
 
diff -Nru a/net/netrom/af_netrom.c b/net/netrom/af_netrom.c
--- a/net/netrom/af_netrom.c	2004-07-23 13:27:52 -07:00
+++ b/net/netrom/af_netrom.c	2004-07-23 13:27:52 -07:00
@@ -10,6 +10,7 @@
  */
 #include <linux/config.h>
 #include <linux/module.h>
+#include <linux/moduleparam.h>
 #include <linux/errno.h>
 #include <linux/types.h>
 #include <linux/socket.h>
@@ -1451,8 +1452,7 @@
 
 module_init(nr_proto_init);
 
-
-MODULE_PARM(nr_ndevs, "i");
+module_param(nr_ndevs, int, 0);
 MODULE_PARM_DESC(nr_ndevs, "number of NET/ROM devices");
 
 MODULE_AUTHOR("Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk>");


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

end of thread, other threads:[~2005-03-20 23:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-29 18:36 [PATCH 2.6] convert netrom to module_param Stephen Hemminger
2004-07-29 23:02 ` David S. Miller
2004-11-02 16:48 ` mkiss, udev and kernel 2.6 Bernard Pidoux
2004-11-12  0:56   ` AA6QN
2004-11-12  4:59     ` Jeremy Utley
2005-03-13 23:25     ` Bernard Pidoux
2005-03-20 23:38       ` AX25 udev pseudo tty support Bernard Pidoux
2004-11-02 17:34 ` xfbb ports and kernel 2.6.8 Bernard Pidoux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox