aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/stmmac/stmmac.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/stmmac/stmmac.h')
-rw-r--r--drivers/net/stmmac/stmmac.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/stmmac/stmmac.h b/drivers/net/stmmac/stmmac.h
index ebebc644b1b8..cca53dbac361 100644
--- a/drivers/net/stmmac/stmmac.h
+++ b/drivers/net/stmmac/stmmac.h
@@ -54,6 +54,7 @@ struct stmmac_priv {
54 unsigned int dma_buf_sz; 54 unsigned int dma_buf_sz;
55 struct device *device; 55 struct device *device;
56 struct mac_device_info *hw; 56 struct mac_device_info *hw;
57 void __iomem *ioaddr;
57 58
58 struct stmmac_extra_stats xstats; 59 struct stmmac_extra_stats xstats;
59 struct napi_struct napi; 60 struct napi_struct napi;
@@ -65,7 +66,7 @@ struct stmmac_priv {
65 int phy_mask; 66 int phy_mask;
66 int (*phy_reset) (void *priv); 67 int (*phy_reset) (void *priv);
67 void (*fix_mac_speed) (void *priv, unsigned int speed); 68 void (*fix_mac_speed) (void *priv, unsigned int speed);
68 void (*bus_setup)(unsigned long ioaddr); 69 void (*bus_setup)(void __iomem *ioaddr);
69 void *bsp_priv; 70 void *bsp_priv;
70 71
71 int phy_irq; 72 int phy_irq;