diff options
author | Jon Medhurst <tixy@linaro.org> | 2013-01-15 17:45:19 +0000 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2013-07-01 11:04:19 +0100 |
commit | c3e43a142a26fa86463426b085e2fb89a452fdb2 (patch) | |
tree | b83821e80dacaa74bddb435b6530a79810b35861 /drivers/video/Kconfig | |
parent | d73a32d90f3e75e3936796783728536907e874b4 (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/Kconfig')
-rw-r--r-- | drivers/video/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 2e937bdace6f..aa9429fd4d4f 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -39,6 +39,11 @@ config VIDEOMODE_HELPERS 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--- |