From: viro@ftp.linux.org.uk Date: Tue, 6 Sep 2005 00:36:58 +0000 (+0100) Subject: [PATCH] iomem annotations (ac3200.c) X-Git-Tag: v2.6.14-rc1~527^2~16 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ac90037c8ea428bbf7c5ce383a63a05d05ec763;p=linux-2.6 [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 91791ba377..8a0af5453e 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: