projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6a1a64
)
[PATCH] sdladrv.c build fix
author
Toni Mueller
<
[email protected]
>
Tue, 15 Nov 2005 08:09:14 +0000
(
00:09
-0800)
committer
Linus Torvalds
<
[email protected]
>
Tue, 15 Nov 2005 16:59:19 +0000
(08:59 -0800)
gcc4 doesn't allow typecasted lvals.
Cc: "David S. Miller" <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/net/wan/sdladrv.c
patch
|
blob
|
history
diff --git
a/drivers/net/wan/sdladrv.c
b/drivers/net/wan/sdladrv.c
index 7c2cf2e76300c4f7fce69777653da0742bfdb8d7..032c0f81928e110f0b152c11e2b8085f465dfd9a 100644
(file)
--- 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(