summaryrefslogtreecommitdiffstats
path: root/drivers/block/loop.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-06-01 03:16:17 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-06-01 03:16:17 +0000
commitd8d9b8f76f22b7a16a83e261e64f89ee611f49df (patch)
tree3067bc130b80d52808e6390c9fc7fc087ec1e33c /drivers/block/loop.c
parent19c9bba94152148523ba0f7ef7cffe3d45656b11 (diff)
Initial revision
Diffstat (limited to 'drivers/block/loop.c')
-rw-r--r--drivers/block/loop.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index d6af70d4f..212efece2 100644
--- a/drivers/block/loop.c
+++ b/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 @@ static struct file_operations lo_fops = {
#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)) {