summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorToni Mueller <support@oeko.net>2005-11-15 00:09:14 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-15 08:59:19 -0800
commit09071e35f9f0b308c37c9853766de573591589ea (patch)
treec835059c4463cda91814955920c29a513caf7ff3 /drivers/net
parentd6a1a64aec2b2e2e13b629ed72afd319d8bce5da (diff)
[PATCH] sdladrv.c build fix
gcc4 doesn't allow typecasted lvals. Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wan/sdladrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/sdladrv.c b/drivers/net/wan/sdladrv.c
index 7c2cf2e76300..032c0f81928e 100644
--- a/drivers/net/wan/sdladrv.c
+++ b/drivers/net/wan/sdladrv.c
@@ -1994,7 +1994,7 @@ static int detect_s514 (sdlahw_t* hw)
modname, hw->irq);
/* map the physical PCI memory to virtual memory */
- (void *)hw->dpmbase = ioremap((unsigned long)S514_mem_base_addr,
+ hw->dpmbase = ioremap((unsigned long)S514_mem_base_addr,
(unsigned long)MAX_SIZEOF_S514_MEMORY);
/* map the physical control register memory to virtual memory */
hw->vector = (unsigned long)ioremap(