[patch 12/47] fbdev: export symbol fb_mode_option

Greg KH
2008-06-14T00:16:23Z

[-- Attachment #1: ps3-fix-frame-buffer-build-error.patch --]
[-- Type: text/plain, Size: 1041 bytes --]

-stable review patch. If anyone has any objections, please let us know.

------------------
From: Geoff Levand <geoffrey.levand@am.sony.com>

upstream commit: 659179b28f15ab1b1db5f8767090f5e728f115a1

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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
---
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)

--