From: Ville Syrjala Date: Thu, 24 Jul 2008 04:31:32 +0000 (-0700) Subject: atyfb: fix a cast X-Git-Tag: MMI-PSA29.97-13-9~33137 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1c554ff9554d67b4db0fb5e2f78c7cb4b2e0d627;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git atyfb: fix a cast The argument to iounmap() is void __iomem *. Fix the cast. Signed-off-by: Ville Syrjala Cc: "Antonino A. Daplas" Cc: Krzysztof Helt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c index e38398f491f0..620ba8120368 100644 --- a/drivers/video/aty/atyfb_base.c +++ b/drivers/video/aty/atyfb_base.c @@ -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; }