atyfb: fix a cast
The argument to iounmap() is void __iomem *. Fix the cast. Signed-off-by: Ville Syrjala <syrjala@sci.fi> Cc: "Antonino A. Daplas" <adaplas@pol.net> Cc: Krzysztof Helt <krzysztof.h1@poczta.fm> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
89c69d2b8e
commit
1c554ff955
|
@ -3335,7 +3335,7 @@ static int __devinit init_from_bios(struct atyfb_par *par)
|
|||
PRINTKE("no BIOS frequency table found, use parameters\n");
|
||||
ret = -ENXIO;
|
||||
}
|
||||
iounmap((void* __iomem )bios_base);
|
||||
iounmap((void __iomem *)bios_base);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue