aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2013-08-02 08:05:27 -0400
committerH. Peter Anvin <hpa@linux.intel.com>2013-08-02 19:17:51 -0400
commit765d5b9c2b72f5b99722cdfcf4bf8f88c556cf92 (patch)
treef4aefaaedbb86619442ce7982d8cf9d3e2ee6ab1
parente6816a8d85549444feb3838920b1f4efba73d1da (diff)
fbdev: fbcon: select VT_HW_CONSOLE_BINDING
fbdev provides framebuffer hotplugging, hence, we need to allow fbcon to unbind from framebuffers. Unfortunately, fbcon_fb_unbind() cannot unbind from the last framebuffer, unless console-unbinding is supported. Fixing fbcon_unbind() to return 0 caused some horrible NULL-derefs in the VT layer and I couldn't figure out why. Hence, lets just require console-unbinding so fbdev hotplugging works with fbcon. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Link: http://lkml.kernel.org/r/1375445127-15480-9-git-send-email-dh.herrmann@gmail.com Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--drivers/video/console/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/console/Kconfig b/drivers/video/console/Kconfig
index 8c30603e0a86..846caab75a46 100644
--- a/drivers/video/console/Kconfig
+++ b/drivers/video/console/Kconfig
@@ -92,7 +92,8 @@ config DUMMY_CONSOLE_ROWS
92 92
93config FRAMEBUFFER_CONSOLE 93config FRAMEBUFFER_CONSOLE
94 tristate "Framebuffer Console support" 94 tristate "Framebuffer Console support"
95 depends on FB 95 depends on FB && !UML
96 select VT_HW_CONSOLE_BINDING
96 select CRC32 97 select CRC32
97 select FONT_SUPPORT 98 select FONT_SUPPORT
98 help 99 help