Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 -1
+1 -1
arch/sparc/prom/misc_64.c
··· 162 162 return 0xff; 163 163 } 164 164 165 - int prom_get_mmu_ihandle(void) 165 + static int prom_get_mmu_ihandle(void) 166 166 { 167 167 phandle node; 168 168 int ret;