aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/hd64572.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wan/hd64572.c')
-rw-r--r--drivers/net/wan/hd64572.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wan/hd64572.c b/drivers/net/wan/hd64572.c
index f1685d9624c8..6269a09c7369 100644
--- a/drivers/net/wan/hd64572.c
+++ b/drivers/net/wan/hd64572.c
@@ -605,8 +605,7 @@ static netdev_tx_t sca_xmit(struct sk_buff *skb, struct net_device *dev)
605} 605}
606 606
607 607
608static u32 sca_detect_ram(card_t *card, u8 __iomem *rambase, 608static u32 sca_detect_ram(card_t *card, u8 __iomem *rambase, u32 ramsize)
609 u32 ramsize)
610{ 609{
611 /* Round RAM size to 32 bits, fill from end to start */ 610 /* Round RAM size to 32 bits, fill from end to start */
612 u32 i = ramsize &= ~3; 611 u32 i = ramsize &= ~3;