aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-06-26 03:28:01 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-26 12:58:40 -0400
commit05381954243de2348def8e338ca23fb40a0a721d (patch)
treede3341922d1329cde035e7cd111c0ec6e9289199 /drivers
parentf655675b3fe09c4d0506d357527fe07544623009 (diff)
[PATCH] drivers/md/md.c: make code static
Make needlessly global code static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Neil Brown <neilb@suse.de> 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 331b1bc95735..306268ec99ff 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -175,7 +175,7 @@ EXPORT_SYMBOL_GPL(md_new_event);
175/* Alternate version that can be called from interrupts 175/* Alternate version that can be called from interrupts
176 * when calling sysfs_notify isn't needed. 176 * when calling sysfs_notify isn't needed.
177 */ 177 */
178void md_new_event_inintr(mddev_t *mddev) 178static void md_new_event_inintr(mddev_t *mddev)
179{ 179{
180 atomic_inc(&md_event_count); 180 atomic_inc(&md_event_count);
181 wake_up(&md_event_waiters); 181 wake_up(&md_event_waiters);
@@ -2309,7 +2309,7 @@ __ATTR(resync_start, 0644, resync_start_show, resync_start_store);
2309 */ 2309 */
2310enum array_state { clear, inactive, suspended, readonly, read_auto, clean, active, 2310enum array_state { clear, inactive, suspended, readonly, read_auto, clean, active,
2311 write_pending, active_idle, bad_word}; 2311 write_pending, active_idle, bad_word};
2312char *array_states[] = { 2312static char *array_states[] = {
2313 "clear", "inactive", "suspended", "readonly", "read-auto", "clean", "active", 2313 "clear", "inactive", "suspended", "readonly", "read-auto", "clean", "active",
2314 "write-pending", "active-idle", NULL }; 2314 "write-pending", "active-idle", NULL };
2315 2315