summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-01-06 11:20:44 +0300
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 19:34:07 +0300
commit07dbd37727049c0d56e313e5afcf8db07a9c3e37 (patch)
tree8886cd0f15ee885e0b2e4d7cede65631b48a8a2a /drivers
parent2989ddbd6e1d9638a188311b896362c4bf7b7c25 (diff)
downloadlinux-07dbd37727049c0d56e313e5afcf8db07a9c3e37.tar.xz
[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;
*/
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);