diff options
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/dm-hw-handler.c | 2 | ||||
-rw-r--r-- | drivers/md/dm-path-selector.c | 2 | ||||
-rw-r--r-- | drivers/md/dm-table.c | 2 | ||||
-rw-r--r-- | drivers/md/dm-zero.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/drivers/md/dm-hw-handler.c b/drivers/md/dm-hw-handler.c index ae63772e44c9..4cc0010e0156 100644 --- a/drivers/md/dm-hw-handler.c +++ b/drivers/md/dm-hw-handler.c | |||
@@ -23,7 +23,7 @@ struct hwh_internal { | |||
23 | static LIST_HEAD(_hw_handlers); | 23 | static LIST_HEAD(_hw_handlers); |
24 | static DECLARE_RWSEM(_hwh_lock); | 24 | static DECLARE_RWSEM(_hwh_lock); |
25 | 25 | ||
26 | struct hwh_internal *__find_hw_handler_type(const char *name) | 26 | static struct hwh_internal *__find_hw_handler_type(const char *name) |
27 | { | 27 | { |
28 | struct hwh_internal *hwhi; | 28 | struct hwh_internal *hwhi; |
29 | 29 | ||
diff --git a/drivers/md/dm-path-selector.c b/drivers/md/dm-path-selector.c index ac5c4bbec6c1..a28c1c2b4ef5 100644 --- a/drivers/md/dm-path-selector.c +++ b/drivers/md/dm-path-selector.c | |||
@@ -26,7 +26,7 @@ struct ps_internal { | |||
26 | static LIST_HEAD(_path_selectors); | 26 | static LIST_HEAD(_path_selectors); |
27 | static DECLARE_RWSEM(_ps_lock); | 27 | static DECLARE_RWSEM(_ps_lock); |
28 | 28 | ||
29 | struct ps_internal *__find_path_selector_type(const char *name) | 29 | static struct ps_internal *__find_path_selector_type(const char *name) |
30 | { | 30 | { |
31 | struct ps_internal *psi; | 31 | struct ps_internal *psi; |
32 | 32 | ||
diff --git a/drivers/md/dm-table.c b/drivers/md/dm-table.c index ee175d4906c4..18e9b9953fcd 100644 --- a/drivers/md/dm-table.c +++ b/drivers/md/dm-table.c | |||
@@ -242,7 +242,7 @@ static void free_devices(struct list_head *devices) | |||
242 | } | 242 | } |
243 | } | 243 | } |
244 | 244 | ||
245 | void table_destroy(struct dm_table *t) | 245 | static void table_destroy(struct dm_table *t) |
246 | { | 246 | { |
247 | unsigned int i; | 247 | unsigned int i; |
248 | 248 | ||
diff --git a/drivers/md/dm-zero.c b/drivers/md/dm-zero.c index 7febc2cac73d..51c0639b2487 100644 --- a/drivers/md/dm-zero.c +++ b/drivers/md/dm-zero.c | |||
@@ -55,7 +55,7 @@ static struct target_type zero_target = { | |||
55 | .map = zero_map, | 55 | .map = zero_map, |
56 | }; | 56 | }; |
57 | 57 | ||
58 | int __init dm_zero_init(void) | 58 | static int __init dm_zero_init(void) |
59 | { | 59 | { |
60 | int r = dm_register_target(&zero_target); | 60 | int r = dm_register_target(&zero_target); |
61 | 61 | ||
@@ -65,7 +65,7 @@ int __init dm_zero_init(void) | |||
65 | return r; | 65 | return r; |
66 | } | 66 | } |
67 | 67 | ||
68 | void __exit dm_zero_exit(void) | 68 | static void __exit dm_zero_exit(void) |
69 | { | 69 | { |
70 | int r = dm_unregister_target(&zero_target); | 70 | int r = dm_unregister_target(&zero_target); |
71 | 71 | ||