Skip to content

Commit

Permalink
[PATCH] fbdev: video_setup() warning fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Feb 12, 2006
1 parent bc7fc06 commit bc6d7fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/video/fbmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -1593,6 +1594,7 @@ static int __init video_setup(char *options)
return 0;
}
__setup("video=", video_setup);
#endif

/*
* Visible symbols for modules
Expand Down

0 comments on commit bc6d7fd

Please sign in to comment.