diff options
Diffstat (limited to 'include/linux/stmmac.h')
-rw-r--r-- | include/linux/stmmac.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h index 33ace712e7e8..0a5a7aca562e 100644 --- a/include/linux/stmmac.h +++ b/include/linux/stmmac.h | |||
@@ -113,8 +113,10 @@ struct plat_stmmacenet_data { | |||
113 | int max_speed; | 113 | int max_speed; |
114 | void (*fix_mac_speed)(void *priv, unsigned int speed); | 114 | void (*fix_mac_speed)(void *priv, unsigned int speed); |
115 | void (*bus_setup)(void __iomem *ioaddr); | 115 | void (*bus_setup)(void __iomem *ioaddr); |
116 | int (*init)(struct platform_device *pdev); | 116 | void *(*setup)(struct platform_device *pdev); |
117 | void (*exit)(struct platform_device *pdev); | 117 | void (*free)(struct platform_device *pdev, void *priv); |
118 | int (*init)(struct platform_device *pdev, void *priv); | ||
119 | void (*exit)(struct platform_device *pdev, void *priv); | ||
118 | void *custom_cfg; | 120 | void *custom_cfg; |
119 | void *custom_data; | 121 | void *custom_data; |
120 | void *bsp_priv; | 122 | void *bsp_priv; |