2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 02:04:05 +08:00

[PATCH] fbdev: video_setup() warning fix

drivers/video/fbmem.c:1567: warning: 'video_setup' defined but not used

Acked-by: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Andrew Morton 2006-02-11 17:56:08 -08:00 committed by Linus Torvalds
parent bc7fc0601b
commit bc6d7fdf46

View File

@ -1550,6 +1550,7 @@ int fb_get_options(char *name, char **option)
return retval;
}
#ifndef MODULE
/**
* video_setup - process command line options
* @options: string of options
@ -1593,6 +1594,7 @@ static int __init video_setup(char *options)
return 0;
}
__setup("video=", video_setup);
#endif
/*
* Visible symbols for modules