summaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/sdladrv.c
diff options
context:
space:
mode:
authorToni Mueller <support@oeko.net>2005-11-15 09:09:14 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-15 17:59:19 +0100
commit09071e35f9f0b308c37c9853766de573591589ea (patch)
treec835059c4463cda91814955920c29a513caf7ff3 /drivers/net/wan/sdladrv.c
parent[PATCH] hfc_usb: fix usb device table (diff)
downloadlinux-09071e35f9f0b308c37c9853766de573591589ea.tar.xz
linux-09071e35f9f0b308c37c9853766de573591589ea.zip
[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 '')
-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(