diff options
-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 | ||