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) ...@@ -2587,12 +2587,12 @@ void cleanup_module(void)
if (info->screen_base) if (info->screen_base)
iounmap((void *) info->screen_base); iounmap((void *) info->screen_base);
#ifdef __BIG_ENDIAN #ifdef __BIG_ENDIAN
if (info->cursor && par->cursor->ram) if (par->cursor && par->cursor->ram)
iounmap(par->cursor->ram); iounmap(par->cursor->ram);
#endif #endif
#endif #endif
if (info->cursor) if (par->cursor)
kfree(info->cursor); kfree(par->cursor);
#ifdef __sparc__ #ifdef __sparc__
if (par->mmap_map) if (par->mmap_map)
kfree(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