From: Jingoo Han Date: Wed, 11 Sep 2013 21:20:10 +0000 (-0700) Subject: drivers/block/mg_disk.c: make mg_times_out() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c86db975c87976a234f13a0c2d7f931d8ede493b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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;