diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-06-28 02:34:05 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-07-04 04:04:04 -0400 |
commit | 6471b30f4220d4bf899efe347a47856db045f53e (patch) | |
tree | 0b58abd4170bd0088d9c7afdf0cb6e98767c44b9 /drivers/video | |
parent | 8a61f0135c696a9cc06aa58d657672e4fc168646 (diff) |
video: clps711x: Fix driver build for CONFIG_FB=m
This patch fixes building CLPS711X FB driver if the framebuffer
core is used as a module.
LD init/built-in.o
drivers/built-in.o: In function `clps711x_fb_remove':
:(.text+0x44a8): undefined reference to `unregister_framebuffer'
drivers/built-in.o: In function `clps711x_fb_probe':
:(.text+0x44cc): undefined reference to `fb_get_options'
:(.text+0x45d8): undefined reference to `fb_alloc_cmap'
:(.text+0x45e4): undefined reference to `register_framebuffer'
make: *** [vmlinux] Error 1
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/fbdev/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index 06e1ff8f9b62..4a7098fb32c3 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig | |||
@@ -302,7 +302,7 @@ config FB_ACORN | |||
302 | unsure, say N. | 302 | unsure, say N. |
303 | 303 | ||
304 | config FB_CLPS711X_OLD | 304 | config FB_CLPS711X_OLD |
305 | bool | 305 | tristate |
306 | select FB_CFB_FILLRECT | 306 | select FB_CFB_FILLRECT |
307 | select FB_CFB_COPYAREA | 307 | select FB_CFB_COPYAREA |
308 | select FB_CFB_IMAGEBLIT | 308 | select FB_CFB_IMAGEBLIT |