diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-01-28 15:13:50 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-01-30 02:45:20 -0500 |
commit | 6984330a13efff2e5385c612b6fc2b3b38103be1 (patch) | |
tree | fd497d2da7ed7dc4d4e18e8db5816f61d6fc628a /drivers/video | |
parent | 87f0fce775a1f8a011439d13c69415d4c2d8f825 (diff) |
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/fbdev/mmp/Makefile | 4 | ||||
-rw-r--r-- | drivers/video/fbdev/mmp/fb/Kconfig | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/video/fbdev/mmp/Makefile b/drivers/video/fbdev/mmp/Makefile index a014cb358bf8..924dd0930cc7 100644 --- a/drivers/video/fbdev/mmp/Makefile +++ b/drivers/video/fbdev/mmp/Makefile | |||
@@ -1 +1,3 @@ | |||
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 | ||
diff --git a/drivers/video/fbdev/mmp/fb/Kconfig b/drivers/video/fbdev/mmp/fb/Kconfig index 9b0141f105f5..985e1a7cd254 100644 --- a/drivers/video/fbdev/mmp/fb/Kconfig +++ b/drivers/video/fbdev/mmp/fb/Kconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | if MMP_DISP | 1 | if MMP_DISP |
2 | 2 | ||
3 | config MMP_FB | 3 | config MMP_FB |
4 | bool "fb driver for Marvell MMP Display Subsystem" | 4 | tristate "fb driver for Marvell MMP Display Subsystem" |
5 | depends on FB | 5 | depends on FB |
6 | select FB_CFB_FILLRECT | 6 | select FB_CFB_FILLRECT |
7 | select FB_CFB_COPYAREA | 7 | select FB_CFB_COPYAREA |