summaryrefslogtreecommitdiff
path: root/drivers/md/md.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-01-06 00:20:44 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 08:34:07 -0800
commit07dbd37727049c0d56e313e5afcf8db07a9c3e37 (patch)
tree8886cd0f15ee885e0b2e4d7cede65631b48a8a2a /drivers/md/md.c
parent2989ddbd6e1d9638a188311b896362c4bf7b7c25 (diff)
[PATCH] drivers/md/md.c: make md_new_event() static
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>
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r--drivers/md/md.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 3cf089349e77..241d514343ce 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -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);