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)
commitbb8b26627267a82c49f47fc52a0785f079a7b063
treebb1559a35d5417a6dd08790b50ba8a99bdc90f68
parentda0241f12bf785f74e57ad6d67abdf269216f76b
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