net/sfc/base: make NIC pointer const in NIC config get
authorIgor Romanov <igor.romanov@oktetlabs.ru>
Thu, 7 Feb 2019 16:29:22 +0000 (16:29 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Feb 2019 10:35:41 +0000 (11:35 +0100)
commit70c9ab84b299de2c954039b33e38fc646f787180
treebc457d4e6d98d1814fe80aef7b0ec64a511617da
parent217688651d7085c1f0465838e279d5142423bc3e
net/sfc/base: make NIC pointer const in NIC config get

The change is needed for the functions that accept const efx_nic_t
pointer and have to get efx_nic_cfg_t.

Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/efx.h
drivers/net/sfc/base/efx_nic.c