Commit ff388ad0 authored by Antonino A. Daplas's avatar Antonino A. Daplas Committed by Linus Torvalds

s3fb: implement fb_get_tilemax()

Implement fb_get_tilemax(). It just returns 256.
Signed-off-by: default avatarAntonino Daplas <adaplas@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 11f11d52
...@@ -183,7 +183,10 @@ static void s3fb_settile_fast(struct fb_info *info, struct fb_tilemap *map) ...@@ -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 = { static struct fb_tile_ops s3fb_tile_ops = {
.fb_settile = svga_settile, .fb_settile = svga_settile,
...@@ -191,6 +194,7 @@ static struct fb_tile_ops s3fb_tile_ops = { ...@@ -191,6 +194,7 @@ static struct fb_tile_ops s3fb_tile_ops = {
.fb_tilefill = svga_tilefill, .fb_tilefill = svga_tilefill,
.fb_tileblit = svga_tileblit, .fb_tileblit = svga_tileblit,
.fb_tilecursor = svga_tilecursor, .fb_tilecursor = svga_tilecursor,
.fb_get_tilemax = s3fb_get_tilemax,
}; };
static struct fb_tile_ops s3fb_fast_tile_ops = { static struct fb_tile_ops s3fb_fast_tile_ops = {
...@@ -199,6 +203,7 @@ 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_tilefill = svga_tilefill,
.fb_tileblit = svga_tileblit, .fb_tileblit = svga_tileblit,
.fb_tilecursor = svga_tilecursor, .fb_tilecursor = svga_tilecursor,
.fb_get_tilemax = s3fb_get_tilemax,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment