public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] A very little patch to make rivafb to be compiled
@ 2002-01-06 21:02 Evgeniy Polyakov
  2002-01-06 21:59 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Evgeniy Polyakov @ 2002-01-06 21:02 UTC (permalink / raw)
  To: ajoshi; +Cc: linux-kernel

Hello, Ani Joshi and other hackers.

Here is patch against 2.5.2-pre9 wich make rivafb to be compiled:

--- /usr/src/linux-2.5.2-pre/drivers/video/riva/fbdev.c~        Wed Nov 14
17:52:20 2001
+++ /usr/src/linux-2.5.2-pre/drivers/video/riva/fbdev.c Sun Jan  6
15:45:04 2002
@@ -1811,7 +1811,7 @@
        info = &rinfo->info;
 
        strcpy(info->modename, rinfo->drvr_name);
-       info->node = -1;
+       info->node = to_kdev_t(-1);
        info->flags = FBINFO_FLAG_DEFAULT;
        info->fbops = &riva_fb_ops;

Now it works good.

Thanks all for your work.

---
WBR. //s0mbre

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] A very little patch to make rivafb to be compiled
  2002-01-06 21:02 [patch] A very little patch to make rivafb to be compiled Evgeniy Polyakov
@ 2002-01-06 21:59 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2002-01-06 21:59 UTC (permalink / raw)
  To: johnpol; +Cc: ajoshi, linux-kernel

Evgeniy Polyakov wrote:
> 
> Hello, Ani Joshi and other hackers.
> 
> Here is patch against 2.5.2-pre9 wich make rivafb to be compiled:
> 
> --- /usr/src/linux-2.5.2-pre/drivers/video/riva/fbdev.c~        Wed Nov 14
> 17:52:20 2001
> +++ /usr/src/linux-2.5.2-pre/drivers/video/riva/fbdev.c Sun Jan  6
> 15:45:04 2002
> @@ -1811,7 +1811,7 @@
>         info = &rinfo->info;
> 
>         strcpy(info->modename, rinfo->drvr_name);
> -       info->node = -1;
> +       info->node = to_kdev_t(-1);
>         info->flags = FBINFO_FLAG_DEFAULT;
>         info->fbops = &riva_fb_ops;

This should be assigned to "NODEV" not "to_kdev_t(-1)".

Several fbdev drivers need this change.

	Jeff


-- 
Jeff Garzik      | Alternate titles for LOTR:
Building 1024    | Fast Times at Uruk-Hai
MandrakeSoft     | The Took, the Elf, His Daughter and Her Lover
                 | Samwise Gamgee: International Hobbit of Mystery

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-06 22:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-06 21:02 [patch] A very little patch to make rivafb to be compiled Evgeniy Polyakov
2002-01-06 21:59 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox