mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 10:45:49 +00:00
sparc64: Fix prototype warning for prom_get_mmu_ihandle
arch/sparc/prom/misc_64.c:165:5: warning: no previous prototype for ‘prom_get_mmu_ihandle’ The function prom_get_mmu_ihandle has no users outside of misc_64.c so declare it static. Link: https://lore.kernel.org/r/20240710094155.458731-4-andreas@gaisler.com Signed-off-by: Andreas Larsson <andreas@gaisler.com>
This commit is contained in:
parent
a6c3ea1ec9
commit
a9f52913ac
@ -162,7 +162,7 @@ unsigned char prom_get_idprom(char *idbuf, int num_bytes)
|
||||
return 0xff;
|
||||
}
|
||||
|
||||
int prom_get_mmu_ihandle(void)
|
||||
static int prom_get_mmu_ihandle(void)
|
||||
{
|
||||
phandle node;
|
||||
int ret;
|
||||
|
Loading…
Reference in New Issue
Block a user