diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2006-01-09 23:53:08 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 11:01:45 -0500 |
commit | a26968df0110bc2117e5572a07e285b183e68736 (patch) | |
tree | 09aa54089508c0785ec6996709b5642c3b75f91c /include | |
parent | 94f9e09ce531d48b2e46208f9b1c8733a74c22de (diff) |
[PATCH] fbdev: kyrofb: Driver cleanups
- remove unneeded casts
- use framebuffer_alloc/framebuffer_release to allocate/free memory
- the pseudo_palette is always u32 regardless of bpp if using generic
drawing functions
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/video/kyro.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/kyro.h b/include/video/kyro.h index 1bed37cfa68c..dba7de2ee4a8 100644 --- a/include/video/kyro.h +++ b/include/video/kyro.h | |||
@@ -15,6 +15,7 @@ | |||
15 | struct kyrofb_info { | 15 | struct kyrofb_info { |
16 | void __iomem *regbase; | 16 | void __iomem *regbase; |
17 | 17 | ||
18 | u32 palette[16]; | ||
18 | u32 HTot; /* Hor Total Time */ | 19 | u32 HTot; /* Hor Total Time */ |
19 | u32 HFP; /* Hor Front Porch */ | 20 | u32 HFP; /* Hor Front Porch */ |
20 | u32 HST; /* Hor Sync Time */ | 21 | u32 HST; /* Hor Sync Time */ |