linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bert hubert <ahu@ds9a.nl>
To: tw@webit.com
Cc: linux-kernel@vger.kernel.org
Subject: new sisfb driver 2.5.6 compile fix
Date: Fri, 8 Mar 2002 12:06:53 +0100	[thread overview]
Message-ID: <20020308120653.A28906@outpost.ds9a.nl> (raw)

Thomas, 

This patch makes your most recent work (as found on
http://www.webit.at/~twinny/linuxsis630.shtml) compile & work on 2.5.6.

Regards,

bert


diff -urBb sis-orig/sis_main.c sis/sis_main.c
--- sis-orig/sis_main.c	Wed Mar  6 19:47:21 2002
+++ sis/sis_main.c	Fri Mar  8 11:09:58 2002
@@ -2286,7 +2286,7 @@
 	if (boot_cpu_data.x86 > 3)
 		pgprot_val(vma->vm_page_prot) |= _PAGE_PCD;
 #endif
-	if (io_remap_page_range(vma->vm_start, off, vma->vm_end - vma->vm_start,
+	if (io_remap_page_range(vma, vma->vm_start, off, vma->vm_end - vma->vm_start,
 				vma->vm_page_prot)) 
 		return -EAGAIN;
 	return 0;
@@ -2994,7 +2994,7 @@
 		sisfb_crtc_to_var(&default_var);
 
 		fb_info.changevar = NULL;
-		fb_info.node = -1;
+		fb_info.node = NODEV;
 		fb_info.fbops = &sisfb_ops;
 		fb_info.disp = &disp;
 		fb_info.switch_con = &sisfb_switch;

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO

                 reply	other threads:[~2002-03-08 11:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20020308120653.A28906@outpost.ds9a.nl \
    --to=ahu@ds9a.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tw@webit.com \
    /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).