]> git.baikalelectronics.ru Git - kernel.git/commit
efifb: Disallow manual bind and unbind
authorAndy Lutomirski <luto@MIT.EDU>
Thu, 26 May 2011 14:13:34 +0000 (10:13 -0400)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 2 Jun 2011 08:18:07 +0000 (17:18 +0900)
commit1495b0eceee7f8ea22d865041bbbfcbee9e3abc6
treebb1559a35d5417a6dd08790b50ba8a99bdc90f68
parent55e756519724087710d0065f54dfa6972d780693
efifb: Disallow manual bind and unbind

Both were buggy: bind would happily scribble over a real graphics
device and unbind wouldn't destroy the framebuffer.  Hotplugging
efifb makes no sense anyway, so just disable it.

As an added benefit, we save some runtime memory.

Signed-off-by: Andy Lutomirski <luto@mit.edu>
Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/efifb.c