summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-09-11 23:20:10 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-12 00:56:59 +0200
commitc86db975c87976a234f13a0c2d7f931d8ede493b (patch)
tree827cca6baa3a4dbb87ac3fcdbe552af520368b35 /drivers/block
parentblock: support embedded device command line partition (diff)
downloadlinux-c86db975c87976a234f13a0c2d7f931d8ede493b.tar.xz
linux-c86db975c87976a234f13a0c2d7f931d8ede493b.zip
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.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;