fbcon: check if the character count can be handled
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 8 May 2007 07:39:19 +0000 (00:39 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:31 +0000 (11:15 -0700)
commit38b4982c6388ae9596f959e3d7fef91affbd181d
treefb3938204e811886c2793908dca528e20b40f665
parentff388ad05bc67163124ac74126bbc16faa2fb771
fbcon: check if the character count can be handled

Fontmaps can be 256 or 512 in length. The only driver that can do tileblitting
can only handle 256 characters.  Check for this when setting the font.

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