]> 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)
commit7f94a569d1769df3fcf54b89ae9dcbe3c7d1ec1d
treebb1559a35d5417a6dd08790b50ba8a99bdc90f68
parent9847818512dc7d9a0be52ff9e1783cb8247bafa7
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