video/mmpfb: allow modular build
authorArnd Bergmann <arnd@arndb.de>
Wed, 28 Jan 2015 20:13:50 +0000 (21:13 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Jan 2015 07:45:20 +0000 (09:45 +0200)
commit6984330a13efff2e5385c612b6fc2b3b38103be1
treefd497d2da7ed7dc4d4e18e8db5816f61d6fc628a
parent87f0fce775a1f8a011439d13c69415d4c2d8f825
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>
drivers/video/fbdev/mmp/Makefile
drivers/video/fbdev/mmp/fb/Kconfig