patch-2.3.50 linux/drivers/net/pcmcia/aironet4500_cs.c
Next file: linux/drivers/net/tokenring/Config.in
Previous file: linux/drivers/net/net_init.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Mon Mar 6 15:53:44 2000
- Orig file:
v2.3.49/linux/drivers/net/pcmcia/aironet4500_cs.c
- Orig date:
Thu Mar 2 14:36:22 2000
diff -u --recursive --new-file v2.3.49/linux/drivers/net/pcmcia/aironet4500_cs.c linux/drivers/net/pcmcia/aironet4500_cs.c
@@ -15,8 +15,7 @@
#include <linux/module.h>
-//#include <pcmcia/config.h>
-
+#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/ptrace.h>
@@ -604,7 +603,7 @@
-int init_module(void)
+static int aironet_cs_init(void)
{
servinfo_t serv;
@@ -621,7 +620,7 @@
return 0;
}
-void cleanup_module(void)
+static void aironet_cs_exit(void)
{
DEBUG(0, "awc_cs: unloading %c ",'\n');
unregister_pcmcia_driver(&dev_info);
@@ -636,4 +635,6 @@
// awc_detach(dev_list);
}
-
+module_init(aironet_cs_init);
+module_exit(aironet_cs_init);
+
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)