mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00: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:
parent
2e0bade785
commit
ac19125f72
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue