diff options
author | Jon Medhurst <tixy@linaro.org> | 2013-01-15 17:45:19 +0000 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2013-01-15 17:45:19 +0000 |
commit | a671a6eaabd159ab611b0b4b75d14355ea50f6a7 (patch) | |
tree | ea539c1e4c49b39e79fd7d7b1390df9680ecc072 | |
parent | eb9456c34316d54d06b5bde64210778a58ca3fad (diff) |
video: Make vexpress DVI driver depend on CONFIG_FBtracking-integration-linaro-vexpress-ll-20130116.0
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'
Signed-off-by: Jon Medhurst <tixy@linaro.org>
-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 e313743fe70c..e8ea55778536 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -35,6 +35,11 @@ config VIDEO_OUTPUT_CONTROL This framework adds support for low-level control of the video output switch. +config VEXPRESS_DVI_CONTROL + tristate "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 0ea7ea1d1879..4707ea1fb2be 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -171,4 +171,4 @@ obj-$(CONFIG_FB_VIRTUAL) += vfb.o obj-$(CONFIG_VIDEO_OUTPUT_CONTROL) += output.o # platform specific output drivers -obj-$(CONFIG_VEXPRESS_CONFIG) += vexpress-dvi.o +obj-$(CONFIG_VEXPRESS_DVI_CONTROL) += vexpress-dvi.o |