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