mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 2.5.54 atyfb_base.c compile fix
@ 2003-01-02  6:30 Andres Salomon
  2003-01-06 21:50 ` James Simmons
  0 siblings, 1 reply; 4+ messages in thread
From: Andres Salomon @ 2003-01-02  6:30 UTC (permalink / raw)
  To: linux-kernel

atyfb doesn't compile for me; this fixes it.  Someone was referencing the
wrong variable (or fb_cursor and aty_cursor used to be similar, and
fb_cursor changed).


--- a/drivers/video/aty/atyfb_base.c.orig       2003-01-02 00:22:48.000000000 -0500
+++ b/drivers/video/aty/atyfb_base.c    2003-01-02 01:24:15.000000000 -0500
@@ -2605,12 +2605,12 @@
        if (info->screen_base)
                iounmap((void *) info->screen_base);
 #ifdef __BIG_ENDIAN
-       if (info->cursor && info->cursor->ram)
-               iounmap(info->cursor->ram);
+       if (par->cursor && par->cursor->ram)
+               iounmap(par->cursor->ram);
 #endif
 #endif
-       if (info->cursor)
-               kfree(info->cursor);
+       if (par->cursor)
+               kfree(par->cursor);
 #ifdef __sparc__
        if (par->mmap_map)
                kfree(par->mmap_map);




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

end of thread, other threads:[~2003-01-07 21:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-02  6:30 [PATCH] 2.5.54 atyfb_base.c compile fix Andres Salomon
2003-01-06 21:50 ` James Simmons
2003-01-06 22:09   ` Andres Salomon
2003-01-07 21:59     ` James Simmons

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

all inboxes | Powered by JetHome®