]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
framebuffer: don't link fb_devio into kernel image unconditionally
authorHarald Geyer <harald@ccbib.org>
Tue, 28 Apr 2015 11:17:49 +0000 (13:17 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 7 May 2015 10:59:45 +0000 (13:59 +0300)
commita7c42990f1bed8665037fd5a3848ffb02de3b553
tree7b258793d25a166ee090a53f901008d684d42d6d
parent5ebe6afaf0057ac3eaeb98defd5456894b446d22
framebuffer: don't link fb_devio into kernel image unconditionally

CONFIG_FB_DEFERRED_IO is defined as bool while CONFIG_FB is defined as
tristate. Currently fb_defio.o is linked into the kernel image even if
CONFIG_FB=m.

I fix this by updating the Makefile to link fb_defio.o into fb.o and thus
go into one place with the other core framebuffer code.

Signed-off-by: Harald Geyer <harald@ccbib.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/core/Makefile
drivers/video/fbdev/core/fb_defio.c