fbcon: check console-fb mapping in fbcon_get_requirement
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 8 May 2007 07:39:54 +0000 (00:39 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:33 +0000 (11:15 -0700)
commit167f07f1bc20ea1ab51d833deb0c18f5ab93618f
treeca3ef41b8fc3308ba237a0abcae354dff9987e12
parentb1e7223f28b4ed5073d2029a3597bf514ff514f2
fbcon: check console-fb mapping in fbcon_get_requirement

- Check the console-to-fb mapping in fbcon_get_requirement(), otherwise the
  value returned may not be valid for the driver.

- Minor cleanup

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/console/fbcon.c