From: Alexander Shiyan Date: Sat, 28 Jun 2014 06:34:05 +0000 (+0400) Subject: video: clps711x: Fix driver build for CONFIG_FB=m X-Git-Tag: omap-for-v3.17/fixes-against-rc2~112^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6471b30f4220d4bf899efe347a47856db045f53e;p=pandora-kernel.git 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 Signed-off-by: Alexander Shiyan Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed