lkml.org 
[lkml]   [2003]   [Jan]   [2]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From"Andres Salomon" <>
Subject[PATCH] 2.5.54 atyfb_base.c compile fix
DateThu, 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/

\
 
 \ /
  Last update: 2005-03-22 12:32    [from the cache]
©2003-2008