summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2006-01-09 20:53:14 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-10 08:01:46 -0800
commit7227576f4b9dcffe32f8e6b228361b38814bbe7f (patch)
tree57b0db8a19a4005cb4d550127fa9daf557d61191 /include/video
parentcb639258f92b2407c50f79a95364f42932481389 (diff)
downloadlinux-3.10-7227576f4b9dcffe32f8e6b228361b38814bbe7f.tar.gz
linux-3.10-7227576f4b9dcffe32f8e6b228361b38814bbe7f.tar.bz2
linux-3.10-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/sstfb.h b/include/video/sstfb.h
index 0d77b520537..3570f9c9b11 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 */