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/[email protected] Signed-off-by: Andreas Larsson <[email protected]>
1 parent a6c3ea1 commit a9f5291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)