Commit 96b24143 authored by Linus Torvalds's avatar Linus Torvalds

Atyfb_base compile fix from Andres Salomon <dilinger@voxel.net>

parent c3b36dba
...@@ -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