commit | 387d890db88b4eb7c1dd55a2a0c16d6f0dccc7ad | [log] [tgz] |
---|---|---|
author | viro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk> | Fri Sep 09 17:22:14 2005 +0100 |
committer | Jeff Garzik <jgarzik@pobox.com> | Wed Sep 14 08:37:31 2005 -0400 |
tree | aa18b1e9c91b43cccc76949bba8b2c56b5b8cfed | |
parent | 7665a08928f241247afe8c76865cdbe4ef5489bf [diff] [blame] |
[PATCH] lne390 bogus casts We already have the iomem pointer we need... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
diff --git a/drivers/net/lne390.c b/drivers/net/lne390.c index 27f0d8a..309d254 100644 --- a/drivers/net/lne390.c +++ b/drivers/net/lne390.c
@@ -298,7 +298,7 @@ return 0; unmap: if (ei_status.reg0) - iounmap((void *)dev->mem_start); + iounmap(ei_status.mem); cleanup: free_irq(dev->irq, dev); return ret;