diff options
-rw-r--r-- | Documentation/networking/stmmac.txt | 2 | ||||
-rw-r--r-- | include/linux/stmmac.h | 18 |
2 files changed, 0 insertions, 20 deletions
diff --git a/Documentation/networking/stmmac.txt b/Documentation/networking/stmmac.txt index 5fddefa69baf..de5c42342ec3 100644 --- a/Documentation/networking/stmmac.txt +++ b/Documentation/networking/stmmac.txt | |||
@@ -274,8 +274,6 @@ capability register can replace what has been passed from the platform. | |||
274 | Please see the following document: | 274 | Please see the following document: |
275 | Documentation/devicetree/bindings/net/stmmac.txt | 275 | Documentation/devicetree/bindings/net/stmmac.txt |
276 | 276 | ||
277 | and the stmmac_of_data structure inside the include/linux/stmmac.h header file. | ||
278 | |||
279 | 4.11) This is a summary of the content of some relevant files: | 277 | 4.11) This is a summary of the content of some relevant files: |
280 | o stmmac_main.c: to implement the main network device driver; | 278 | o stmmac_main.c: to implement the main network device driver; |
281 | o stmmac_mdio.c: to provide mdio functions; | 279 | o stmmac_mdio.c: to provide mdio functions; |
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h index c86a20047cb1..b43cd56b78e9 100644 --- a/include/linux/stmmac.h +++ b/include/linux/stmmac.h | |||
@@ -125,22 +125,4 @@ struct plat_stmmacenet_data { | |||
125 | void (*exit)(struct platform_device *pdev, void *priv); | 125 | void (*exit)(struct platform_device *pdev, void *priv); |
126 | void *bsp_priv; | 126 | void *bsp_priv; |
127 | }; | 127 | }; |
128 | |||
129 | /* of_data for SoC glue layer device tree bindings */ | ||
130 | |||
131 | struct stmmac_of_data { | ||
132 | int has_gmac; | ||
133 | int enh_desc; | ||
134 | int tx_coe; | ||
135 | int rx_coe; | ||
136 | int bugged_jumbo; | ||
137 | int pmt; | ||
138 | int riwt_off; | ||
139 | void (*fix_mac_speed)(void *priv, unsigned int speed); | ||
140 | void (*bus_setup)(void __iomem *ioaddr); | ||
141 | void *(*setup)(struct platform_device *pdev); | ||
142 | void (*free)(struct platform_device *pdev, void *priv); | ||
143 | int (*init)(struct platform_device *pdev, void *priv); | ||
144 | void (*exit)(struct platform_device *pdev, void *priv); | ||
145 | }; | ||
146 | #endif | 128 | #endif |