liquidio: move a couple of functions to lio_core.c
authorPradeep Nalla <pradeep.nalla@cavium.com>
Thu, 26 Apr 2018 00:00:12 +0000 (17:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Apr 2018 17:19:38 +0000 (13:19 -0400)
commitf058ca6b06d4c4685201de3760b1962641aad445
tree4a74deb836bc9fc5b5f721f580cd943d7302267a
parent1ecd6e8ad9964273d2b540196784bc3c9b17053b
liquidio: move a couple of functions to lio_core.c

To support the next patch in this series which has code that calls
octnet_get_link_stats from two different .c files, move that function (and
its dependency octnet_nic_stats_callback) to lio_core.c.  Remove
octnet_get_link_stats's static declaration and add its function prototype
in octeon_network.h.

Signed-off-by: Pradeep Nalla <pradeep.nalla@cavium.com>
Acked-by: Raghu Vatsavayi <raghu.vatsavayi@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_core.c
drivers/net/ethernet/cavium/liquidio/lio_ethtool.c
drivers/net/ethernet/cavium/liquidio/octeon_network.h