From: Marek Vasut Date: Mon, 6 Mar 2023 14:53:45 +0000 (+0100) Subject: net: dwc_eth_qos: Staticize eqos_inval_buffer_tegra186() X-Git-Tag: baikal/mips/sdk6.2~4^2~3^2~175^2~16^2~13 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=e4b44181721eb67d0c141274cc028c51d7893207;p=uboot.git net: dwc_eth_qos: Staticize eqos_inval_buffer_tegra186() This function is only used within the driver, staticize it. Fixes: 49571599778 ("net: dwc_eth_qos: public some functions") Signed-off-by: Marek Vasut --- diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c index b97b3ea2db..9a5575e7b8 100644 --- a/drivers/net/dwc_eth_qos.c +++ b/drivers/net/dwc_eth_qos.c @@ -108,7 +108,7 @@ void eqos_flush_desc_generic(void *desc) flush_dcache_range(start, end); } -void eqos_inval_buffer_tegra186(void *buf, size_t size) +static void eqos_inval_buffer_tegra186(void *buf, size_t size) { unsigned long start = (unsigned long)buf & ~(ARCH_DMA_MINALIGN - 1); unsigned long end = ALIGN(start + size, ARCH_DMA_MINALIGN);