From: Antonino A. Daplas Date: Tue, 8 May 2007 07:39:16 +0000 (-0700) Subject: fbdev: add tile operation to get the maximum length of the map X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=11f11d522f74965fce421a5a09ff0ab178139d36;p=openwrt%2Fstaging%2Fblogic.git fbdev: add tile operation to get the maximum length of the map Add a tile method, fb_get_tilemax(), that returns the maximum length of the tile map (or font map). This is needed by s3fb which can only handle 256 characters. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/fb.h b/include/linux/fb.h index 619ba1e40ab9..a2f382c01cd2 100644 --- a/include/linux/fb.h +++ b/include/linux/fb.h @@ -655,7 +655,6 @@ struct fb_ops { }; #ifdef CONFIG_FB_TILEBLITTING - #define FB_TILE_CURSOR_NONE 0 #define FB_TILE_CURSOR_UNDERLINE 1 #define FB_TILE_CURSOR_LOWER_THIRD 2 @@ -727,6 +726,8 @@ struct fb_tile_ops { /* cursor */ void (*fb_tilecursor)(struct fb_info *info, struct fb_tilecursor *cursor); + /* get maximum length of the tile map */ + int (*fb_get_tilemax)(struct fb_info *info); }; #endif /* CONFIG_FB_TILEBLITTING */