# FB: Export symbol fb\_mode\_option

- From: Geoff Levand \<hidden\>
- Date: 2008-05-21 21:42:10 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2008/05/13458182
- Thread: https://ratatoskr.run/linux-fbdev/2008/05/13458182/t.md

```text
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/
```
