Re: [PATCH -next] enetc: make enetc_setup_tc_mqprio static
From: David Miller
Date: Thu Nov 21 2019 - 22:31:00 EST
From: Mao Wenan <maowenan@xxxxxxxxxx>
Date: Fri, 22 Nov 2019 10:52:40 +0800
> 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@xxxxxxxxxx>
Applied.