diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-09-11 17:20:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-11 18:56:59 -0400 |
commit | c86db975c87976a234f13a0c2d7f931d8ede493b (patch) | |
tree | 827cca6baa3a4dbb87ac3fcdbe552af520368b35 /drivers/block/mg_disk.c | |
parent | bab55417b10c95e6bff8cea315c315adfa009487 (diff) |
drivers/block/mg_disk.c: make mg_times_out() static
mg_times_out() is used only in this file. Fix the following sparse
warning:
drivers/block/mg_disk.c:639:6: warning: symbol 'mg_times_out' was not declared. Should it be static?
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/mg_disk.c')
-rw-r--r-- | drivers/block/mg_disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/mg_disk.c b/drivers/block/mg_disk.c index a56cfcd5d648..77a60bedd7a3 100644 --- a/drivers/block/mg_disk.c +++ b/drivers/block/mg_disk.c | |||
@@ -636,7 +636,7 @@ ok_to_write: | |||
636 | mg_request(host->breq); | 636 | mg_request(host->breq); |
637 | } | 637 | } |
638 | 638 | ||
639 | void mg_times_out(unsigned long data) | 639 | static void mg_times_out(unsigned long data) |
640 | { | 640 | { |
641 | struct mg_host *host = (struct mg_host *)data; | 641 | struct mg_host *host = (struct mg_host *)data; |
642 | char *name; | 642 | char *name; |