Re: [PATCH] matroxfb_base.c - a little fix

From: Petr Vandrovec (vandrove@vc.cvut.cz)
Date: Sun Feb 03 2002 - 20:08:54 EST


On Mon, Feb 04, 2002 at 06:01:07AM +0500, Denis Zaitsev wrote:
> So, below is the little fix. It's self-explanatory. Matrox's fb
> can't be compiled without it. Petr, please, apply it.

Thanks. I already tried to push updated matroxfb to both Marcello
and Linus, but only Alan picked it... matroxfb_crtc2.c needs
simillar fix, BTW.

> --- drivers/video/matrox/matroxfb_base.c.orig Mon Feb 4 05:11:15 2002
> +++ drivers/video/matrox/matroxfb_base.c Mon Feb 4 05:16:05 2002
> @@ -1789,7 +1789,7 @@
>
> strcpy(ACCESS_FBINFO(fbcon.modename), "MATROX VGA");
> ACCESS_FBINFO(fbcon.changevar) = NULL;
> - ACCESS_FBINFO(fbcon.node) = -1;
> + ACCESS_FBINFO(fbcon.node.value) = -1;

No, ACCESS_FBINFO(fbcon.node) = B_FREE;
or = NODEV;

> ACCESS_FBINFO(fbcon.fbops) = &matroxfb_ops;
> ACCESS_FBINFO(fbcon.disp) = d;
> ACCESS_FBINFO(fbcon.switch_con) = &matroxfb_switch;

                                                        Petr Vandrovec
                                                        vandrove@vc.cvut.cz

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:30 EST