diff options
author | viro@ftp.linux.org.uk <viro@ftp.linux.org.uk> | 2005-09-06 01:36:58 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-06 22:17:12 -0400 |
commit | 5ac90037c8ea428bbf7c5ce383a63a05d05ec763 (patch) | |
tree | 68ee9ede7d7abc40d9baec6ee73e8d91ccc2053d /drivers/net | |
parent | 8e84c801bad50d2e0e9f802610d2c13f8d342230 (diff) |
[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 <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ac3200.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ac3200.c b/drivers/net/ac3200.c index 91791ba3776..8a0af5453e2 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: |