fbdev: export symbol fb_mode_option
authorGeoff Levand <[email protected]>
Fri, 6 Jun 2008 05:46:44 +0000 (22:46 -0700)
committerLinus Torvalds <[email protected]>
Fri, 6 Jun 2008 18:29:12 +0000 (11:29 -0700)
Frame buffer and mode setting drivers can be built as modules,
so fb_mode_option needs to be exported to support these.

Prevents this error:

  ERROR: "fb_mode_option" [drivers/ps3/ps3av_mod.ko] undefined!

Signed-off-by: Geoff Levand <[email protected]>
Acked-by: Geert Uytterhoeven <[email protected]>
Cc: Krzysztof Helt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/video/modedb.c

index d1bbef930dfa616293b9bf33cf407a6a5c65825d..d3c3af53a2905940c77dc4983f01e6a7caf03b16 100644 (file)
@@ -28,6 +28,7 @@
 #endif
 
 const char *fb_mode_option;
+EXPORT_SYMBOL_GPL(fb_mode_option);
 
     /*
      *  Standard video mode definitions (taken from XFree86)