diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2007-05-08 03:39:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:31 -0400 |
commit | 11f11d522f74965fce421a5a09ff0ab178139d36 (patch) | |
tree | 179affdf2b4f7e7f8c111c19c6aa6141c64c760b /include | |
parent | 8db51668f5ef6ae31ed4e4f0c6e2976a190dfa11 (diff) |
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 <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fb.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 { | |||
655 | }; | 655 | }; |
656 | 656 | ||
657 | #ifdef CONFIG_FB_TILEBLITTING | 657 | #ifdef CONFIG_FB_TILEBLITTING |
658 | |||
659 | #define FB_TILE_CURSOR_NONE 0 | 658 | #define FB_TILE_CURSOR_NONE 0 |
660 | #define FB_TILE_CURSOR_UNDERLINE 1 | 659 | #define FB_TILE_CURSOR_UNDERLINE 1 |
661 | #define FB_TILE_CURSOR_LOWER_THIRD 2 | 660 | #define FB_TILE_CURSOR_LOWER_THIRD 2 |
@@ -727,6 +726,8 @@ struct fb_tile_ops { | |||
727 | /* cursor */ | 726 | /* cursor */ |
728 | void (*fb_tilecursor)(struct fb_info *info, | 727 | void (*fb_tilecursor)(struct fb_info *info, |
729 | struct fb_tilecursor *cursor); | 728 | struct fb_tilecursor *cursor); |
729 | /* get maximum length of the tile map */ | ||
730 | int (*fb_get_tilemax)(struct fb_info *info); | ||
730 | }; | 731 | }; |
731 | #endif /* CONFIG_FB_TILEBLITTING */ | 732 | #endif /* CONFIG_FB_TILEBLITTING */ |
732 | 733 | ||