diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2007-07-17 07:05:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 13:23:12 -0400 |
commit | eb3daa83c2f63743fb7597f620beac75e1ba5633 (patch) | |
tree | be59200d2ed567f6ac0a0e7dc1369b0ee67c8db6 /include | |
parent | 9965f5b137f11a7dce01b2c32874a4875f024306 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/video/tgafb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/tgafb.h b/include/video/tgafb.h index 03d0dbe293a8..7bc5e2c14826 100644 --- a/include/video/tgafb.h +++ b/include/video/tgafb.h | |||
@@ -216,6 +216,7 @@ struct tga_par { | |||
216 | u32 pll_freq; /* pixclock in mhz */ | 216 | u32 pll_freq; /* pixclock in mhz */ |
217 | u32 bits_per_pixel; /* bits per pixel */ | 217 | u32 bits_per_pixel; /* bits per pixel */ |
218 | u32 sync_on_green; /* set if sync is on green */ | 218 | u32 sync_on_green; /* set if sync is on green */ |
219 | u32 palette[16]; | ||
219 | }; | 220 | }; |
220 | 221 | ||
221 | 222 | ||