diff options
author | 2019-06-15 12:09:31 +0200 | |
---|---|---|
committer | 2019-06-16 13:53:41 -0700 | |
commit | ce4ab73ab0c27c6a3853695aa8ec0f453c6329cd (patch) | |
tree | 15dd4cf19d7b9d7aabdc8cce4ea5a65cd9205eda /include/linux/stmmac.h | |
parent | net: stmmac: drop the reset GPIO from struct stmmac_mdio_bus_data (diff) | |
download | linux-ce4ab73ab0c27c6a3853695aa8ec0f453c6329cd.tar.gz linux-ce4ab73ab0c27c6a3853695aa8ec0f453c6329cd.tar.bz2 linux-ce4ab73ab0c27c6a3853695aa8ec0f453c6329cd.zip |
net: stmmac: drop the reset delays from struct stmmac_mdio_bus_data
Only OF platforms use the reset delays and these delays are only read in
stmmac_mdio_reset(). Move them from struct stmmac_mdio_bus_data to a
stack variable inside stmmac_mdio_reset() because that's the only usage
of these delays.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/stmmac.h')
-rw-r--r-- | include/linux/stmmac.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h index a0cc6fa4965b..7c8328edd501 100644 --- a/include/linux/stmmac.h +++ b/include/linux/stmmac.h @@ -96,9 +96,6 @@ struct stmmac_mdio_bus_data { unsigned int phy_mask; int *irqs; int probed_phy_irq; -#ifdef CONFIG_OF - u32 delays[3]; -#endif }; struct stmmac_dma_cfg { |