Skip to contentSkip to conversation

FB: Export symbol fb_mode_option

PATCH New Geoff Levand 1 participant 2 messages May 21, 2008 – May 29, 2008 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

Frame buffer drivers and the associated 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!

---
 drivers/video/modedb.c |    1 +
 1 file changed, 1 insertion(+)
drivers/video/modedb.c +1 -0
@@ -28,6 +28,7 @@
 #endif
 
 const char *fb_mode_option;
+EXPORT_SYMBOL_GPL(fb_mode_option);
 
     /*
      *  Standard video mode definitions (taken from XFree86)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

#1 lore raw

PATCH 1/1 FB: Export symbol fb_mode_option

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!

---
Hi Andrew,

I posted this to the linux-fbdev some time ago, but no one picked it up. Could you please merge it for 2.6.26.

-Geoff

 drivers/video/modedb.c |    1 +
 1 file changed, 1 insertion(+)
drivers/video/modedb.c +1 -0
@@ -28,6 +28,7 @@
 #endif
 
 const char *fb_mode_option;
+EXPORT_SYMBOL_GPL(fb_mode_option);
 
     /*
      *  Standard video mode definitions (taken from XFree86)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/