diff options
author | Jose Abreu <Jose.Abreu@synopsys.com> | 2019-05-24 11:20:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-24 23:45:56 +0300 |
commit | 3b1dd2c50016fab237a2916164576d7725e6e40c (patch) | |
tree | 6c92a7ac2b2d449625cac20179074646a139566c /drivers/net/ethernet/stmicro/stmmac/mmc.h | |
parent | 8edb12713ee82eab3614bd216b13f5a244da9fbf (diff) | |
download | linux-3b1dd2c50016fab237a2916164576d7725e6e40c.tar.xz |
net: stmmac: Switch MMC functions to HWIF callbacks
XGMAC has a different MMC module. Lets use HWIF callbacks for MMC module
so that correct callbacks are automatically selected.
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/mmc.h')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/mmc.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/mmc.h b/drivers/net/ethernet/stmicro/stmmac/mmc.h index c037326331f5..e2bd90a4d34f 100644 --- a/drivers/net/ethernet/stmicro/stmmac/mmc.h +++ b/drivers/net/ethernet/stmicro/stmmac/mmc.h @@ -128,8 +128,4 @@ struct stmmac_counters { unsigned int mmc_rx_icmp_err_octets; }; -void dwmac_mmc_ctrl(void __iomem *ioaddr, unsigned int mode); -void dwmac_mmc_intr_all_mask(void __iomem *ioaddr); -void dwmac_mmc_read(void __iomem *ioaddr, struct stmmac_counters *mmc); - #endif /* __MMC_H__ */ |