patch-2.1.37 linux/drivers/block/loop.c

Next file: linux/drivers/block/md.c
Previous file: linux/drivers/block/linear.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/drivers/block/loop.c linux/drivers/block/loop.c
@@ -23,6 +23,7 @@
 #include <linux/stat.h>
 #include <linux/errno.h>
 #include <linux/major.h>
+#include <linux/init.h>
 
 #include <asm/uaccess.h>
 
@@ -537,8 +538,8 @@
 #define loop_init init_module
 #endif
 
-int
-loop_init( void ) {
+__initfunc(int
+loop_init( void )) {
 	int	i;
 
 	if (register_blkdev(MAJOR_NR, "loop", &lo_fops)) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov