video: clps711x: Fix driver build for CONFIG_FB=m
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 28 Jun 2014 06:34:05 +0000 (10:34 +0400)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 4 Jul 2014 08:04:04 +0000 (11:04 +0300)
commit6471b30f4220d4bf899efe347a47856db045f53e
tree0b58abd4170bd0088d9c7afdf0cb6e98767c44b9
parent8a61f0135c696a9cc06aa58d657672e4fc168646
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>
drivers/video/fbdev/Kconfig