diff options
author | Ville Syrjala <syrjala@sci.fi> | 2008-07-23 21:31:32 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 10:47:39 -0700 |
commit | 1c554ff9554d67b4db0fb5e2f78c7cb4b2e0d627 (patch) | |
tree | e56d8d5b9fbcf5cbbbb3643c2b2d7abd59f10221 /drivers/video/aty | |
parent | 89c69d2b8eb3ee2338fded9d70a0795b4712f112 (diff) | |
download | op-kernel-dev-1c554ff9554d67b4db0fb5e2f78c7cb4b2e0d627.zip op-kernel-dev-1c554ff9554d67b4db0fb5e2f78c7cb4b2e0d627.tar.gz |
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')
-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 e38398f..620ba81 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; } |