提交 bc6d7fdf 编写于 作者: A Andrew Morton 提交者: Linus Torvalds

[PATCH] fbdev: video_setup() warning fix

drivers/video/fbmem.c:1567: warning: 'video_setup' defined but not used
Acked-by: N"Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 bc7fc060
...@@ -1550,6 +1550,7 @@ int fb_get_options(char *name, char **option) ...@@ -1550,6 +1550,7 @@ int fb_get_options(char *name, char **option)
return retval; return retval;
} }
#ifndef MODULE
/** /**
* video_setup - process command line options * video_setup - process command line options
* @options: string of options * @options: string of options
...@@ -1593,6 +1594,7 @@ static int __init video_setup(char *options) ...@@ -1593,6 +1594,7 @@ static int __init video_setup(char *options)
return 0; return 0;
} }
__setup("video=", video_setup); __setup("video=", video_setup);
#endif
/* /*
* Visible symbols for modules * Visible symbols for modules
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册