diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2022-08-17 22:34:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-08-22 16:00:54 +0300 |
commit | d6208adfc9a9acbf76a6ee74eb3dad52eab33369 (patch) | |
tree | 6061e5072e50c3badde9fbb91f4ca400f5ed60a8 /drivers/net/ethernet/microchip/lan966x/lan966x_main.h | |
parent | 86bac7f11788c780db2ccbe87712c0c71a64b510 (diff) | |
download | linux-d6208adfc9a9acbf76a6ee74eb3dad52eab33369.tar.xz |
net: lan966x: Expose lan966x_switchdev_nb and lan966x_switchdev_blocking_nb
Expose lan966x_switchdev_nb and lan966x_switchdev_blocking_nb to the
lan966x_main.h file because they will be needed by the lag driver.
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/microchip/lan966x/lan966x_main.h')
-rw-r--r-- | drivers/net/ethernet/microchip/lan966x/lan966x_main.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/microchip/lan966x/lan966x_main.h b/drivers/net/ethernet/microchip/lan966x/lan966x_main.h index b02c1c803945..516ed8e9183d 100644 --- a/drivers/net/ethernet/microchip/lan966x/lan966x_main.h +++ b/drivers/net/ethernet/microchip/lan966x/lan966x_main.h @@ -297,6 +297,8 @@ struct lan966x_port { extern const struct phylink_mac_ops lan966x_phylink_mac_ops; extern const struct phylink_pcs_ops lan966x_phylink_pcs_ops; extern const struct ethtool_ops lan966x_ethtool_ops; +extern struct notifier_block lan966x_switchdev_nb __read_mostly; +extern struct notifier_block lan966x_switchdev_blocking_nb __read_mostly; bool lan966x_netdevice_check(const struct net_device *dev); |