This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / net / rose / af_rose.c
index 31c4ab7..a5555c3 100644 (file)
@@ -11,7 +11,6 @@
  */
 #include <linux/config.h>
 #include <linux/module.h>
-#include <linux/moduleparam.h>
 #include <linux/init.h>
 #include <linux/errno.h>
 #include <linux/types.h>
@@ -58,7 +57,7 @@ int sysctl_rose_link_fail_timeout       = ROSE_DEFAULT_FAIL_TIMEOUT;
 int sysctl_rose_maximum_vcs             = ROSE_DEFAULT_MAXVC;
 int sysctl_rose_window_size             = ROSE_DEFAULT_WINDOW_SIZE;
 
-static HLIST_HEAD(rose_list);
+HLIST_HEAD(rose_list);
 spinlock_t rose_list_lock = SPIN_LOCK_UNLOCKED;
 
 static struct proto_ops rose_proto_ops;
@@ -1551,7 +1550,7 @@ fail:
 }
 module_init(rose_proto_init);
 
-module_param(rose_ndevs, int, 0);
+MODULE_PARM(rose_ndevs, "i");
 MODULE_PARM_DESC(rose_ndevs, "number of ROSE devices");
 
 MODULE_AUTHOR("Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk>");