diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-09-11 14:20:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-11 15:56:59 -0700 |
commit | c86db975c87976a234f13a0c2d7f931d8ede493b (patch) | |
tree | 827cca6baa3a4dbb87ac3fcdbe552af520368b35 /drivers/block | |
parent | bab55417b10c95e6bff8cea315c315adfa009487 (diff) | |
download | linux-c86db975c87976a234f13a0c2d7f931d8ede493b.tar.gz linux-c86db975c87976a234f13a0c2d7f931d8ede493b.tar.xz |
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')
-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: mg_request(host->breq); } -void mg_times_out(unsigned long data) +static void mg_times_out(unsigned long data) { struct mg_host *host = (struct mg_host *)data; char *name; |