Commit 0391b9be authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] atyfb compilation fix

Patch from "Andres Salomon" <dilinger@voxel.net>

Fix compilation of atyfb_base.c
parent 8458eee6
......@@ -2587,12 +2587,12 @@ void cleanup_module(void)
if (info->screen_base)
iounmap((void *) info->screen_base);
#ifdef __BIG_ENDIAN
if (info->cursor && par->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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment