diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2006-01-09 20:53:08 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 08:01:45 -0800 |
commit | a26968df0110bc2117e5572a07e285b183e68736 (patch) | |
tree | 09aa54089508c0785ec6996709b5642c3b75f91c /include/video | |
parent | 94f9e09ce531d48b2e46208f9b1c8733a74c22de (diff) | |
download | op-kernel-dev-a26968df0110bc2117e5572a07e285b183e68736.zip op-kernel-dev-a26968df0110bc2117e5572a07e285b183e68736.tar.gz |
[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/video')
-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 1bed37c..dba7de2 100644 --- a/include/video/kyro.h +++ b/include/video/kyro.h @@ -15,6 +15,7 @@ struct kyrofb_info { void __iomem *regbase; + u32 palette[16]; u32 HTot; /* Hor Total Time */ u32 HFP; /* Hor Front Porch */ u32 HST; /* Hor Sync Time */ |