* [-mm patch] drivers/md/md.c: make md_new_event() static
@ 2005-12-15 21:24 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-12-15 21:24 UTC (permalink / raw)
To: Neil Brown; +Cc: Andrew Morton, linux-kernel
This patch makes the needlessly global function md_new_event() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.15-rc5-mm3-full/drivers/md/md.c.old 2005-12-15 15:51:16.000000000 +0100
+++ linux-2.6.15-rc5-mm3-full/drivers/md/md.c 2005-12-15 15:51:31.000000000 +0100
@@ -156,11 +156,11 @@
* start array, stop array, error, add device, remove device,
* start build, activate spare
*/
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);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-12-15 21:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-15 21:24 [-mm patch] drivers/md/md.c: make md_new_event() static Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox