patch-2.4.2 linux/drivers/acorn/scsi/queue.c

Next file: linux/drivers/acpi/cmbatt.c
Previous file: linux/drivers/acorn/scsi/powertec.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.1/linux/drivers/acorn/scsi/queue.c linux/drivers/acorn/scsi/queue.c
@@ -18,9 +18,10 @@
 #include <linux/blk.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
 #include <linux/spinlock.h>
 #include <linux/list.h>
+#include <linux/init.h>
 
 #include "../../scsi/scsi.h"
 
@@ -295,12 +296,12 @@
 EXPORT_SYMBOL(queue_probetgtlun);
 
 #ifdef MODULE
-int init_module (void)
+int __init init_module (void)
 {
 	return 0;
 }
 
-void cleanup_module (void)
+void __exit cleanup_module (void)
 {
 }
 #endif

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