diff options
author | Sean Anderson <sean.anderson@seco.com> | 2022-09-03 00:57:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-09-05 16:27:39 +0300 |
commit | c6b7b1b515080aaa1e1e72328c758478dc32d82a (patch) | |
tree | 23928b391e5fb1770fd509228262fab37bde32cd /drivers/net/ethernet/freescale/fman/mac.h | |
parent | 262f2b782e255b7959b6b8fdfd9347558a7003a2 (diff) | |
download | linux-c6b7b1b515080aaa1e1e72328c758478dc32d82a.tar.xz |
net: fman: Pass params directly to mac init
Instead of having the mac init functions call back into the fman core to
get their params, just pass them directly to the init functions.
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Acked-by: Camelia Groza <camelia.groza@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/fman/mac.h')
-rw-r--r-- | drivers/net/ethernet/freescale/fman/mac.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/freescale/fman/mac.h b/drivers/net/ethernet/freescale/fman/mac.h index 7aa71b05bd3e..c5fb4d46210f 100644 --- a/drivers/net/ethernet/freescale/fman/mac.h +++ b/drivers/net/ethernet/freescale/fman/mac.h @@ -72,8 +72,6 @@ int fman_set_mac_active_pause(struct mac_device *mac_dev, bool rx, bool tx); void fman_get_pause_cfg(struct mac_device *mac_dev, bool *rx_pause, bool *tx_pause); -int set_fman_mac_params(struct mac_device *mac_dev, - struct fman_mac_params *params); int fman_set_multi(struct net_device *net_dev, struct mac_device *mac_dev); #endif /* __MAC_H */ |