aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/wanxl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wan/wanxl.c')
-rw-r--r--drivers/net/wan/wanxl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/wanxl.c b/drivers/net/wan/wanxl.c
index ad8c8651d298..d4aab8a28b61 100644
--- a/drivers/net/wan/wanxl.c
+++ b/drivers/net/wan/wanxl.c
@@ -715,7 +715,7 @@ static int __devinit wanxl_pci_init_one(struct pci_dev *pdev,
715 } 715 }
716 716
717 for (i = 0; i < sizeof(firmware); i += 4) 717 for (i = 0; i < sizeof(firmware); i += 4)
718 writel(htonl(*(u32*)(firmware + i)), mem + PDM_OFFSET + i); 718 writel(ntohl(*(__be32*)(firmware + i)), mem + PDM_OFFSET + i);
719 719
720 for (i = 0; i < ports; i++) 720 for (i = 0; i < ports; i++)
721 writel(card->status_address + 721 writel(card->status_address +