提交 765d5b9c 编写于 作者: D David Herrmann 提交者: H. Peter Anvin

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: NDavid Herrmann <dh.herrmann@gmail.com>
Link: http://lkml.kernel.org/r/1375445127-15480-9-git-send-email-dh.herrmann@gmail.comSigned-off-by: NH. Peter Anvin <hpa@linux.intel.com>
上级 e6816a8d
...@@ -92,7 +92,8 @@ config DUMMY_CONSOLE_ROWS ...@@ -92,7 +92,8 @@ config DUMMY_CONSOLE_ROWS
config FRAMEBUFFER_CONSOLE config FRAMEBUFFER_CONSOLE
tristate "Framebuffer Console support" tristate "Framebuffer Console support"
depends on FB depends on FB && !UML
select VT_HW_CONSOLE_BINDING
select CRC32 select CRC32
select FONT_SUPPORT select FONT_SUPPORT
help help
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册