* [PATCH 32/41] s3fb: Implement fb_get_tilemax()
@ 2007-04-25 7:11 Antonino A. Daplas
0 siblings, 0 replies; only message in thread
From: Antonino A. Daplas @ 2007-04-25 7:11 UTC (permalink / raw)
To: Andrew Morton; +Cc: Ondrej Zajicek, Linux Fbdev development list
Implement fb_get_tilemax(). It just returns 256.
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
---
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_
}
}
-
+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
.fb_tilefill = svga_tilefill,
.fb_tileblit = svga_tileblit,
.fb_tilecursor = svga_tilecursor,
+ .fb_get_tilemax = s3fb_get_tilemax,
};
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-25 7:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-25 7:11 [PATCH 32/41] s3fb: Implement fb_get_tilemax() Antonino A. Daplas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).