浏览代码

fbdev: 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!

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Acked-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Geoff Levand 17 年之前
父节点
当前提交
659179b28f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/video/modedb.c

+ 1 - 0
drivers/video/modedb.c

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