Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e408ebdc authored by Sathya Perla's avatar Sathya Perla Committed by David S. Miller
Browse files

bnxt_en: use SWITCHDEV_SET_OPS() for setting vf_rep_switchdev_ops



This fixes the build error:
‘struct net_device’ has no member named ‘switchdev_ops’

Reported-by: default avatarkbuild test robot <lkp@intel.com>
Fixes: c124a62f ("bnxt_en: add support for port_attr_get and and get_phys_port_name")
Signed-off-by: default avatarSathya Perla <sathya.perla@broadcom.com>
Signed-off-by: default avatarMichael Chan <michael.chan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d3e3bece
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment