netdev.vger.kernel.org archive mirror
 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
  0 siblings, 1 reply; 2+ 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] 2+ messages in thread

* Re: [PATCH 2.6] convert netrom to module_param
  2004-07-29 18:36 [PATCH 2.6] convert netrom to module_param Stephen Hemminger
@ 2004-07-29 23:02 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-07-29 23:02 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: ralf, netdev, linux-hams

On Thu, 29 Jul 2004 11:36:51 -0700
Stephen Hemminger <shemminger@osdl.org> wrote:

> Convert Netrom to use module_param

Also applied, thanks.

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

end of thread, other threads:[~2004-07-29 23:02 UTC | newest]

Thread overview: 2+ 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

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).