]> git.baikalelectronics.ru Git - uboot.git/commitdiff
net: dwc_eth_qos: Staticize eqos_inval_buffer_tegra186()
authorMarek Vasut <marex@denx.de>
Mon, 6 Mar 2023 14:53:45 +0000 (15:53 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 30 Mar 2023 11:47:03 +0000 (13:47 +0200)
This function is only used within the driver, staticize it.

Fixes: 49571599778 ("net: dwc_eth_qos: public some functions")
Signed-off-by: Marek Vasut <marex@denx.de>
drivers/net/dwc_eth_qos.c

index b97b3ea2db6ddab9fc18a1873465bbf01b6e635d..9a5575e7b8304fe1997cb85297aa1789acced2b9 100644 (file)
@@ -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);