Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

video/mmpfb: allow modular build

The frame buffer core can be a module, which means any fb drivers
should be able to build as modules too. This turns mmpfb into
a tristate option to allow that and fix a possible randconfig
build error.

drivers/built-in.o: In function `modes_setup':
:(.text+0x11b34): undefined reference to `fb_videomode_to_modelist'
:(.text+0x11b5c): undefined reference to `fb_videomode_to_var'

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

authored by

Arnd Bergmann and committed by
Tomi Valkeinen
6984330a 87f0fce7

+4 -2
+3 -1
drivers/video/fbdev/mmp/Makefile
··· 1 - obj-y += core.o hw/ panel/ fb/ 1 + obj-$(CONFIG_MMP_DISP) += mmp_disp.o hw/ panel/ fb/ 2 + 3 + mmp_disp-y += core.o
+1 -1
drivers/video/fbdev/mmp/fb/Kconfig
··· 1 1 if MMP_DISP 2 2 3 3 config MMP_FB 4 - bool "fb driver for Marvell MMP Display Subsystem" 4 + tristate "fb driver for Marvell MMP Display Subsystem" 5 5 depends on FB 6 6 select FB_CFB_FILLRECT 7 7 select FB_CFB_COPYAREA