diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-01-06 03:20:44 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:34:07 -0500 |
commit | 07dbd37727049c0d56e313e5afcf8db07a9c3e37 (patch) | |
tree | 8886cd0f15ee885e0b2e4d7cede65631b48a8a2a /drivers | |
parent | 2989ddbd6e1d9638a188311b896362c4bf7b7c25 (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')
-rw-r--r-- | drivers/md/md.c | 2 |
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; | |||
146 | */ | 146 | */ |
147 | static DECLARE_WAIT_QUEUE_HEAD(md_event_waiters); | 147 | static DECLARE_WAIT_QUEUE_HEAD(md_event_waiters); |
148 | static atomic_t md_event_count; | 148 | static atomic_t md_event_count; |
149 | void md_new_event(mddev_t *mddev) | 149 | static void md_new_event(mddev_t *mddev) |
150 | { | 150 | { |
151 | atomic_inc(&md_event_count); | 151 | atomic_inc(&md_event_count); |
152 | wake_up(&md_event_waiters); | 152 | wake_up(&md_event_waiters); |