patch-2.3.50 linux/drivers/net/aironet4500_proc.c

Next file: linux/drivers/net/appletalk/Config.in
Previous file: linux/drivers/net/aironet4500_core.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.49/linux/drivers/net/aironet4500_proc.c linux/drivers/net/aironet4500_proc.c
@@ -10,6 +10,7 @@
  *
  */
 #include <linux/module.h>
+#include <linux/init.h>
 #include <linux/config.h>
 #include <linux/kernel.h>
 
@@ -520,7 +521,7 @@
    return 0;
 };
 
-int init_module(void) {
+static int aironet_proc_init(void) {
 	int i=0;
 
 	AWC_ENTRY_EXIT_DEBUG("init_module");
@@ -539,7 +540,7 @@
 
 };
 
-void cleanup_module(void){
+static void aironet_proc_exit(void){
 
 	int i=0;
 	AWC_ENTRY_EXIT_DEBUG("cleanup_module");
@@ -552,4 +553,7 @@
 	AWC_ENTRY_EXIT_DEBUG("exit");
 };
 
-#endif // whole proc system styff
\ No newline at end of file
+module_init(aironet_proc_init);
+module_exit(aironet_proc_exit);
+
+#endif // whole proc system styff

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)