block: mg_disk: Staticize mg_times_out()
PATCH 2/3 block: mg_disk: Staticize mg_times_out()
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 <[email protected]>
--- drivers/block/mg_disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/mg_disk.c +1 -1
@@ -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;
Signature · 1 line
1.7.10.4