Skip to content

Commit a9f5291

Browse files
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>
1 parent a6c3ea1 commit a9f5291

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/sparc/prom/misc_64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ unsigned char prom_get_idprom(char *idbuf, int num_bytes)
162162
return 0xff;
163163
}
164164

165-
int prom_get_mmu_ihandle(void)
165+
static int prom_get_mmu_ihandle(void)
166166
{
167167
phandle node;
168168
int ret;

0 commit comments

Comments
 (0)