summaryrefslogtreecommitdiffstats
path: root/drivers/block/md.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/md.c')
-rw-r--r--drivers/block/md.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/block/md.c b/drivers/block/md.c
index 7b4ec6313..078e1e1ee 100644
--- a/drivers/block/md.c
+++ b/drivers/block/md.c
@@ -35,6 +35,7 @@
#include <linux/kerneld.h>
#endif
#include <linux/errno.h>
+#include <linux/init.h>
#define MAJOR_NR MD_MAJOR
#define MD_DRIVER
@@ -546,7 +547,7 @@ void raid0_init (void);
void raid1_init (void);
void raid5_init (void);
-int md_init (void)
+__initfunc(int md_init (void))
{
printk ("md driver %s MAX_MD_DEV=%d, MAX_REAL=%d\n", MD_VERSION, MAX_MD_DEV, MAX_REAL);