FB: Export symbol fb_mode_option

Started by Geoff Levand on May 21, 2008 · 2 messages from 1 author · Last reply May 29, 2008

open the first message on its own page

  1. [patch] FB: Export symbol fb_mode_option
    Related patches
Message details and related content
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!

Signed-off-by: Geoff Levand <redacted>
Acked-by: Geert Uytterhoeven <redacted>
---
 drivers/video/modedb.c |    1 +
 1 file changed, 1 insertion(+)
--- a/drivers/video/modedb.c
+++ b/drivers/video/modedb.c
@@ -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/

[patch] FB: Export symbol fb_mode_option

Message details and related content
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 <redacted>
Acked-by: Geert Uytterhoeven <redacted>
---
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(+)
--- a/drivers/video/modedb.c
+++ b/drivers/video/modedb.c
@@ -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/
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help