net/nfp: Update driver to use global kernel version
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 19 Apr 2020 14:18:49 +0000 (17:18 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Apr 2020 20:27:37 +0000 (13:27 -0700)
commitb4f37219813fd126b2cda6d7805d8c61b8cf801a
tree7ac3f630591dffb829d81984f24f7f7a46f5f9df
parentcad99e506887e257ce8bce826ec25f7854b7e69a
net/nfp: Update driver to use global kernel version

Change nfp driver to use globally defined kernel version.

Reported-by: Borislav Petkov <bp@suse.de>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_main.c
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c