summaryrefslogtreecommitdiff
path: root/drivers/block/mg_disk.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-09-12 01:20:10 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-12 02:56:59 +0400
commitc86db975c87976a234f13a0c2d7f931d8ede493b (patch)
tree827cca6baa3a4dbb87ac3fcdbe552af520368b35 /drivers/block/mg_disk.c
parentbab55417b10c95e6bff8cea315c315adfa009487 (diff)
downloadlinux-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/mg_disk.c')
-rw-r--r--drivers/block/mg_disk.c2
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;