projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11f11d5
)
s3fb: implement fb_get_tilemax()
author
Antonino A. Daplas
<adaplas@gmail.com>
Tue, 8 May 2007 07:39:17 +0000
(
00:39
-0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:31 +0000
(11:15 -0700)
Implement fb_get_tilemax(). It just returns 256.
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/s3fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/s3fb.c
b/drivers/video/s3fb.c
index 53f1eb9638aeeae9b2b26638294e48b61832f7cb..2a8d7d3338d5c8e49bef2fefd13a3cd6c8f7b4f2 100644
(file)
--- a/
drivers/video/s3fb.c
+++ b/
drivers/video/s3fb.c
@@
-183,7
+183,10
@@
static void s3fb_settile_fast(struct fb_info *info, struct fb_tilemap *map)
}
}
-
+static int s3fb_get_tilemax(struct fb_info *info)
+{
+ return 256;
+}
static struct fb_tile_ops s3fb_tile_ops = {
.fb_settile = svga_settile,
@@
-191,6
+194,7
@@
static struct fb_tile_ops s3fb_tile_ops = {
.fb_tilefill = svga_tilefill,
.fb_tileblit = svga_tileblit,
.fb_tilecursor = svga_tilecursor,
+ .fb_get_tilemax = s3fb_get_tilemax,
};
static struct fb_tile_ops s3fb_fast_tile_ops = {
@@
-199,6
+203,7
@@
static struct fb_tile_ops s3fb_fast_tile_ops = {
.fb_tilefill = svga_tilefill,
.fb_tileblit = svga_tileblit,
.fb_tilecursor = svga_tilecursor,
+ .fb_get_tilemax = s3fb_get_tilemax,
};