diff options
author | Jon Medhurst <tixy@linaro.org> | 2013-01-15 17:45:19 +0000 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2013-04-29 09:42:52 +0100 |
commit | 416cfafeebb7c165e642dbf97a7958478ccd0091 (patch) | |
tree | 756359f941c7c6eb7139ceeeb89072170e394339 /drivers/video | |
parent | 244864ab75b472ba8ff1bae1b7cd37632edf776c (diff) |
video: Make vexpress DVI driver depend on CONFIG_FB
The driver uses symbols from fbmem.c so if CONFIG_FB is not
selected we get build errors like:
drivers/built-in.o: In function `vexpress_dvi_fb_select':
:(.text+0x1b6c): undefined reference to `lock_fb_info'
:(.text+0x1ba0): undefined reference to `registered_fb'
Note, this is only a partial solution because we still have a
problem if CONFIG_FB is selected as a module.
Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/Kconfig | 5 | ||||
-rw-r--r-- | drivers/video/Makefile | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 4c1546f71d5..9285c538b3b 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -55,6 +55,11 @@ config OF_VIDEOMODE config HDMI bool +config VEXPRESS_DVI_CONTROL + bool "Versatile Express DVI control" + depends on FB && VEXPRESS_CONFIG + default y + menuconfig FB tristate "Support for frame buffer devices" ---help--- diff --git a/drivers/video/Makefile b/drivers/video/Makefile index 646075279d6..006486750be 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -177,4 +177,4 @@ obj-$(CONFIG_VIDEOMODE) += videomode.o obj-$(CONFIG_OF_VIDEOMODE) += of_videomode.o # platform specific output drivers -obj-$(CONFIG_VEXPRESS_CONFIG) += vexpress-dvi.o +obj-$(CONFIG_VEXPRESS_DVI_CONTROL) += vexpress-dvi.o |