]> err.no Git - linux-2.6/commitdiff
[PATCH] drivers/md/md.c: make md_new_event() static
authorAdrian Bunk <bunk@stusta.de>
Fri, 6 Jan 2006 08:20:44 +0000 (00:20 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:34:07 +0000 (08:34 -0800)
Make the needlessly global function md_new_event() static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c

index 3cf089349e77680d185ce865a173a3b304297aa6..241d514343ce5f546fbbe1efb93adeb48aff29e7 100644 (file)
@@ -146,7 +146,7 @@ static int start_readonly;
  */
 static DECLARE_WAIT_QUEUE_HEAD(md_event_waiters);
 static atomic_t md_event_count;
-void md_new_event(mddev_t *mddev)
+static void md_new_event(mddev_t *mddev)
 {
        atomic_inc(&md_event_count);
        wake_up(&md_event_waiters);