Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ff388ad05bc67163124ac74126bbc16faa2fb771
Commit:     ff388ad05bc67163124ac74126bbc16faa2fb771
Parent:     11f11d522f74965fce421a5a09ff0ab178139d36
Author:     Antonino A. Daplas <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 00:39:17 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue May 8 11:15:31 2007 -0700

    s3fb: implement fb_get_tilemax()
    
    Implement fb_get_tilemax(). It just returns 256.
    
    Signed-off-by: Antonino Daplas <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/video/s3fb.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/drivers/video/s3fb.c b/drivers/video/s3fb.c
index 53f1eb9..2a8d7d3 100644
--- 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,
 };
 
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to