Commit 03de250a269bfa8e6a9e6ccb4a1dbce19dae8a61

Authored by Adrian Bunk
Committed by Linus Torvalds
1 parent 84255d1018

md: proper extern for mdp_major

This patch adds a proper extern for mdp_major in include/linux/raid/md.h

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 2 changed files with 2 additions and 1 deletions Side-by-side Diff

include/linux/raid/md.h
... ... @@ -72,6 +72,8 @@
72 72 */
73 73 #define MD_PATCHLEVEL_VERSION 3
74 74  
  75 +extern int mdp_major;
  76 +
75 77 extern int register_md_personality (struct mdk_personality *p);
76 78 extern int unregister_md_personality (struct mdk_personality *p);
77 79 extern mdk_thread_t * md_register_thread (void (*run) (mddev_t *mddev),
... ... @@ -24,7 +24,6 @@
24 24  
25 25 static int md_setup_ents __initdata;
26 26  
27   -extern int mdp_major;
28 27 /*
29 28 * Parse the command-line parameters given our kernel, but do not
30 29 * actually try to invoke the MD device now; that is handled by