diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2006-01-10 05:53:14 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 17:01:46 +0100 |
commit | 7227576f4b9dcffe32f8e6b228361b38814bbe7f (patch) | |
tree | 57b0db8a19a4005cb4d550127fa9daf557d61191 /include/video | |
parent | [PATCH] fbdev: atyfb: Remove BIOS-less booting (diff) | |
download | linux-7227576f4b9dcffe32f8e6b228361b38814bbe7f.tar.xz linux-7227576f4b9dcffe32f8e6b228361b38814bbe7f.zip |
[PATCH] fbdev: sstfb: Driver cleanups
- remove unneeded casts
- make setcolreg return success if regno > 15, but don't do anything
- use framebuffer_alloc/framebuffer_release to allocate/free memory
Signed-off-by: Antonino Daplas <adaplas@pol.net>
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/sstfb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/sstfb.h b/include/video/sstfb.h index 0d77b5205372..3570f9c9b111 100644 --- a/include/video/sstfb.h +++ b/include/video/sstfb.h @@ -334,6 +334,7 @@ struct sst_spec { }; struct sstfb_par { + u32 palette[16]; unsigned int yDim; unsigned int hSyncOn; /* hsync_len */ unsigned int hSyncOff; /* left_margin + xres + right_margin */ |