# FB: Export symbol fb\_mode\_option

- List: linux-fbdev
- 2 messages, 1 author
- Page: https://ratatoskr.run/linux-fbdev/2008/05/13458182/t

## FB: Export symbol fb\_mode\_option

- From: Geoff Levand \<hidden\>
- Date: 2008-05-21 21:42:10 
- Message: https://ratatoskr.run/linux-fbdev/2008/05/13458182.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/
```

## \[patch\] FB: Export symbol fb\_mode\_option

- From: Geoff Levand \<hidden\>
- Date: 2008-05-29 18:59:55 
- Message: https://ratatoskr.run/linux-fbdev/2008/05/13458222.md

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