diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2006-01-09 20:53:14 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 08:01:46 -0800 |
commit | 7227576f4b9dcffe32f8e6b228361b38814bbe7f (patch) | |
tree | 57b0db8a19a4005cb4d550127fa9daf557d61191 /include | |
parent | cb639258f92b2407c50f79a95364f42932481389 (diff) | |
download | linux-7227576f4b9dcffe32f8e6b228361b38814bbe7f.tar.bz2 |
[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')
-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 */ |