Commit 03de250a authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

md: proper extern for mdp_major

This patch adds a proper extern for mdp_major in include/linux/raid/md.h
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarNeil Brown <neilb@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 84255d10
...@@ -72,6 +72,8 @@ ...@@ -72,6 +72,8 @@
*/ */
#define MD_PATCHLEVEL_VERSION 3 #define MD_PATCHLEVEL_VERSION 3
extern int mdp_major;
extern int register_md_personality (struct mdk_personality *p); extern int register_md_personality (struct mdk_personality *p);
extern int unregister_md_personality (struct mdk_personality *p); extern int unregister_md_personality (struct mdk_personality *p);
extern mdk_thread_t * md_register_thread (void (*run) (mddev_t *mddev), extern mdk_thread_t * md_register_thread (void (*run) (mddev_t *mddev),
......
...@@ -24,7 +24,6 @@ static struct { ...@@ -24,7 +24,6 @@ static struct {
static int md_setup_ents __initdata; static int md_setup_ents __initdata;
extern int mdp_major;
/* /*
* Parse the command-line parameters given our kernel, but do not * Parse the command-line parameters given our kernel, but do not
* actually try to invoke the MD device now; that is handled by * actually try to invoke the MD device now; that is handled by
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment