mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
net: dwc_eth_qos: Staticize eqos_inval_buffer_tegra186()
This function is only used within the driver, staticize it.
Fixes: 149e80f74b ("net: dwc_eth_qos: public some functions")
Signed-off-by: Marek Vasut <marex@denx.de>
This commit is contained in:
committed by
Stefano Babic
parent
2e0bade785
commit
ac19125f72
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user