enetc: make enetc_setup_tc_mqprio static
authorMao Wenan <maowenan@huawei.com>
Fri, 22 Nov 2019 02:52:40 +0000 (10:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Nov 2019 03:30:11 +0000 (19:30 -0800)
commit13baf667fa8e23aed12516776de6e50f7617820a
tree116fafc9187b27de1b4d71b185f33c1768fdc81a
parent7d75c0cb22b71837b376b68fa240c01d4a955fa4
enetc: make enetc_setup_tc_mqprio static

While using ARCH=mips CROSS_COMPILE=mips-linux-gnu- command to compile,
make C=2 drivers/net/ethernet/freescale/enetc/enetc.o

one warning can be found:
drivers/net/ethernet/freescale/enetc/enetc.c:1439:5:
warning: symbol 'enetc_setup_tc_mqprio' was not declared.
Should it be static?

This patch make symbol enetc_setup_tc_mqprio static.
Fixes: 34c6adf1977b ("enetc: Configure the Time-Aware Scheduler via tc-taprio offload")
Signed-off-by: Mao Wenan <maowenan@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc.c