[PATCH] 2.5.54 atyfb_base.c compile fix

Andres Salomon (dilinger@voxel.net)
Thu, 02 Jan 2003 01:30:58 -0500


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);

-
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/