]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bnxt_en: Use SWITCHDEV_SET_OPS().
authorDavid S. Miller <davem@davemloft.net>
Tue, 25 Jul 2017 04:20:16 +0000 (21:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jul 2017 04:20:52 +0000 (21:20 -0700)
commitbc88055ab72c0eaa080926c888628b77d2055513
tree3f0ff4adbdc6e08b9f0ae0c92d180fc1d38964ff
parenta248878d7a1d35ea3bb874891997144ad16d7c27
bnxt_en: Use SWITCHDEV_SET_OPS().

Suggested by Jakub Kicinski.

Fixes: c124a62ff2dd ("bnxt_en: add support for port_attr_get and and get_phys_port_name")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c