mirror of https://gitee.com/openkylin/linux.git
netdev: smc-ultra fix netpoll
net_device_ops conversion left the wrong poll_controller hook. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5f352f9a1c
commit
06e8840317
|
@ -196,7 +196,7 @@ static const struct net_device_ops ultra_netdev_ops = {
|
|||
.ndo_set_mac_address = eth_mac_addr,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
#ifdef CONFIG_NET_POLL_CONTROLLER
|
||||
.ndo_poll_controller = ei_poll,
|
||||
.ndo_poll_controller = ultra_poll,
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue