tgafb: actually allocate memory for the pseudo_palette
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 17 Jul 2007 11:05:41 +0000 (04:05 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:12 +0000 (10:23 -0700)
commiteb3daa83c2f63743fb7597f620beac75e1ba5633
treebe59200d2ed567f6ac0a0e7dc1369b0ee67c8db6
parent9965f5b137f11a7dce01b2c32874a4875f024306
tgafb: actually allocate memory for the pseudo_palette

No memory allocation was done for the pseudo_palette.  Allocate one for it.

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Acked-by: "Maciej W. Rozycki" <macro@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/tgafb.c
include/video/tgafb.h