From: Ville Syrjala Date: Thu, 24 Jul 2008 04:31:32 +0000 (-0700) Subject: atyfb: fix a cast X-Git-Tag: v2.6.27-rc1~549 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1c554ff9554d67b4db0fb5e2f78c7cb4b2e0d627;p=linux-2.6-omap-h63xx.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 e38398f491f..620ba812036 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; }