Commit c86db975 authored by Jingoo Han's avatar Jingoo Han Committed by Linus Torvalds

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: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent bab55417
...@@ -636,7 +636,7 @@ static void mg_write_intr(struct mg_host *host) ...@@ -636,7 +636,7 @@ static void mg_write_intr(struct mg_host *host)
mg_request(host->breq); 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; struct mg_host *host = (struct mg_host *)data;
char *name; char *name;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment