diff options
author | Ville Syrjala <syrjala@sci.fi> | 2008-07-24 08:31:32 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 21:47:39 +0400 |
commit | 1c554ff9554d67b4db0fb5e2f78c7cb4b2e0d627 (patch) | |
tree | e56d8d5b9fbcf5cbbbb3643c2b2d7abd59f10221 /drivers/video/aty/atyfb_base.c | |
parent | 89c69d2b8eb3ee2338fded9d70a0795b4712f112 (diff) | |
download | linux-1c554ff9554d67b4db0fb5e2f78c7cb4b2e0d627.tar.xz |
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>
Diffstat (limited to 'drivers/video/aty/atyfb_base.c')
-rw-r--r-- | drivers/video/aty/atyfb_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |