summaryrefslogtreecommitdiff
path: root/drivers/net/phy/mdio-thunder.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/phy/mdio-thunder.c')
-rw-r--r--drivers/net/phy/mdio-thunder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/mdio-thunder.c b/drivers/net/phy/mdio-thunder.c
index 2a97938d1972..3d7eda99d34e 100644
--- a/drivers/net/phy/mdio-thunder.c
+++ b/drivers/net/phy/mdio-thunder.c
@@ -84,7 +84,7 @@ static int thunder_mdiobus_pci_probe(struct pci_dev *pdev,
nexus->buses[i] = bus;
i++;
- bus->register_base = (u64)nexus->bar0 +
+ bus->register_base = nexus->bar0 +
r.start - pci_resource_start(pdev, 0);
smi_en.u64 = 0;