On Tue, 25 Jul 2017 10:44:49 +0800, kbuild test robot wrote:
>    drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function 'bnxt_init_one':
> >> drivers/net/ethernet/broadcom/bnxt/bnxt.c:7897:5: error: 'struct 
> >> net_device' has no member named 'switchdev_ops'; did you mean 
> >> 'netdev_ops'?  
>      dev->switchdev_ops = &bnxt_switchdev_ops;
>         ^~

Check out SWITCHDEV_SET_OPS() from commit d643a75ac2bc ("net: switchdev:
add SET_SWITCHDEV_OPS helper").

Reply via email to