OSDN Git Service

net: microchip: sparx5: kunit test: change test_callbacks and test_vctrl to static
authorYang Yingliang <yangyingliang@huawei.com>
Fri, 28 Oct 2022 08:11:06 +0000 (16:11 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Oct 2022 10:48:32 +0000 (10:48 +0000)
commite8572f038a527a4f865b0992057963252f14ba40
tree853e3f43c39c2e5f87adc25038ae823bafc51e18
parent8c2a535e089b2ab82cf50c876bd10c8ed33252c9
net: microchip: sparx5: kunit test: change test_callbacks and test_vctrl to static

test_callbacks and test_vctrl are only used in vcap_api_kunit.c now,
change them to static.

Fixes: 67d637516fa9 ("net: microchip: sparx5: Adding KUNIT test for the VCAP API")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/vcap/vcap_api_kunit.c