lkml.org 
[lkml]   [2002]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] matroxfb_base.c - a little fix
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:23    [W:0.023 / U:59.300 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site