linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Michlmayr <tbm@cyrius.com>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: [PATCH] Fix maxine compilation error
Date: Tue, 9 May 2006 23:01:14 +0200	[thread overview]
Message-ID: <20060509210114.GA13897@deprecation.cyrius.com> (raw)

I have no idea if the patch below is correct.  Are fb_get_fix/fb_get_var
still needed?  Is there any information about converting fb drivers to
the 2.6 api?


[PATCH] Fix maxine compilation error

Fix the following compilation error:

  CC      drivers/video/maxinefb.o
drivers/video/maxinefb.c:58: warning: initializer-string for array of chars is too long
drivers/video/maxinefb.c:58: warning: (near initialization for ‘maxinefb_fix.id’)
drivers/video/maxinefb.c:110: error: unknown field ‘fb_get_fix’ specified in initializer
drivers/video/maxinefb.c:110: error: ‘gen_get_fix’ undeclared here (not in a function)
drivers/video/maxinefb.c:111: error: unknown field ‘fb_get_var’ specified in initializer
drivers/video/maxinefb.c:111: error: ‘gen_get_var’ undeclared here (not in a function)
make[2]: *** [drivers/video/maxinefb.o] Error 1

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>


--- drivers/video/maxinefb.c~	2006-05-09 20:50:36.000000000 +0000
+++ drivers/video/maxinefb.c	2006-05-09 20:57:27.000000000 +0000
@@ -55,7 +55,7 @@
 };
 
 static struct fb_fix_screeninfo maxinefb_fix = {
-	.id =		"Maxine onboard graphics 1024x768x8",
+	.id =		"Maxine",
 	.smem_len =	(1024*768),
 	.type =		FB_TYPE_PACKED_PIXELS,
 	.visual =	FB_VISUAL_PSEUDOCOLOR,
@@ -107,8 +107,6 @@
 
 static struct fb_ops maxinefb_ops = {
 	.owner		= THIS_MODULE,
-	.fb_get_fix	= gen_get_fix,
-	.fb_get_var	= gen_get_var,
 	.fb_setcolreg	= maxinefb_setcolreg,
 	.fb_fillrect	= cfb_fillrect,
 	.fb_copyarea	= cfb_copyarea,


-- 
Martin Michlmayr
http://www.cyrius.com/


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642

             reply	other threads:[~2006-05-09 21:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-09 21:01 Martin Michlmayr [this message]
2006-05-24  0:20 ` [PATCH] Fix maxine compilation error Antonino A. Daplas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060509210114.GA13897@deprecation.cyrius.com \
    --to=tbm@cyrius.com \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).