aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-01-06 03:20:44 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 11:34:07 -0500
commit07dbd37727049c0d56e313e5afcf8db07a9c3e37 (patch)
tree8886cd0f15ee885e0b2e4d7cede65631b48a8a2a /drivers
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')
-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;
146 */ 146 */
147static DECLARE_WAIT_QUEUE_HEAD(md_event_waiters); 147static DECLARE_WAIT_QUEUE_HEAD(md_event_waiters);
148static atomic_t md_event_count; 148static atomic_t md_event_count;
149void md_new_event(mddev_t *mddev) 149static 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);