diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2007-05-08 03:39:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:31 -0400 |
commit | ff388ad05bc67163124ac74126bbc16faa2fb771 (patch) | |
tree | e1461380c57396480717c5f36d40275d635ef952 /drivers/video | |
parent | 11f11d522f74965fce421a5a09ff0ab178139d36 (diff) |
s3fb: implement fb_get_tilemax()
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | 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 53f1eb9638ae..2a8d7d3338d5 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) | |||
183 | } | 183 | } |
184 | } | 184 | } |
185 | 185 | ||
186 | 186 | static int s3fb_get_tilemax(struct fb_info *info) | |
187 | { | ||
188 | return 256; | ||
189 | } | ||
187 | 190 | ||
188 | static struct fb_tile_ops s3fb_tile_ops = { | 191 | static struct fb_tile_ops s3fb_tile_ops = { |
189 | .fb_settile = svga_settile, | 192 | .fb_settile = svga_settile, |
@@ -191,6 +194,7 @@ static struct fb_tile_ops s3fb_tile_ops = { | |||
191 | .fb_tilefill = svga_tilefill, | 194 | .fb_tilefill = svga_tilefill, |
192 | .fb_tileblit = svga_tileblit, | 195 | .fb_tileblit = svga_tileblit, |
193 | .fb_tilecursor = svga_tilecursor, | 196 | .fb_tilecursor = svga_tilecursor, |
197 | .fb_get_tilemax = s3fb_get_tilemax, | ||
194 | }; | 198 | }; |
195 | 199 | ||
196 | static struct fb_tile_ops s3fb_fast_tile_ops = { | 200 | static struct fb_tile_ops s3fb_fast_tile_ops = { |
@@ -199,6 +203,7 @@ static struct fb_tile_ops s3fb_fast_tile_ops = { | |||
199 | .fb_tilefill = svga_tilefill, | 203 | .fb_tilefill = svga_tilefill, |
200 | .fb_tileblit = svga_tileblit, | 204 | .fb_tileblit = svga_tileblit, |
201 | .fb_tilecursor = svga_tilecursor, | 205 | .fb_tilecursor = svga_tilecursor, |
206 | .fb_get_tilemax = s3fb_get_tilemax, | ||
202 | }; | 207 | }; |
203 | 208 | ||
204 | 209 | ||