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: v2025.01-rc5-pxa1908~1023^2~16^2~13 X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=ac19125f72d0e90e560085704b0958b104d70ce0;p=u-boot.git net: dwc_eth_qos: Staticize eqos_inval_buffer_tegra186() This function is only used within the driver, staticize it. Fixes: 149e80f74b6 ("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);