From: viro@ftp.linux.org.uk Date: Tue, 6 Sep 2005 00:36:58 +0000 (+0100) Subject: [PATCH] iomem annotations (ac3200.c) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5ac90037c8ea428bbf7c5ce383a63a05d05ec763;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [PATCH] iomem annotations (ac3200.c) no need to mess with (wrong) casts for ->mem_start, when we have the original iomem pointer used to set ->mem_start in the first place... Signed-off-by: Al Viro Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/ac3200.c b/drivers/net/ac3200.c index 91791ba37769..8a0af5453e21 100644 --- a/drivers/net/ac3200.c +++ b/drivers/net/ac3200.c @@ -275,7 +275,7 @@ static int __init ac_probe1(int ioaddr, struct net_device *dev) return 0; out2: if (ei_status.reg0) - iounmap((void *)dev->mem_start); + iounmap(ei_status.mem); out1: free_irq(dev->irq, dev); out: