Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c554ff9 authored by Ville Syrjala's avatar Ville Syrjala Committed by Linus Torvalds
Browse files

atyfb: fix a cast



The argument to iounmap() is void __iomem *. Fix the cast.

Signed-off-by: default avatarVille Syrjala <syrjala@sci.fi>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 89c69d2b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -3335,7 +3335,7 @@ static int __devinit init_from_bios(struct atyfb_par *par)
		PRINTKE("no BIOS frequency table found, use parameters\n");
		PRINTKE("no BIOS frequency table found, use parameters\n");
		ret = -ENXIO;
		ret = -ENXIO;
	}
	}
	iounmap((void* __iomem )bios_base);
	iounmap((void __iomem *)bios_base);


	return ret;
	return ret;
}
}