mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 10:29:37 +00:00
m68k: sun3: Make print_pte() static
When building with W=1: arch/m68k/sun3/mmu_emu.c:70:6: warning: no previous prototype for ‘print_pte’ [-Wmissing-prototypes] 70 | void print_pte (pte_t pte) | ^~~~~~~~~ Fix this by making print_pte() static. There was never a user outside arch/m68k/sun3/mmu_emu.c. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/a56c70e85584efb3681cb7e94aff167299dfa5e4.1694613528.git.geert@linux-m68k.org
This commit is contained in:
parent
dc40c42977
commit
dc52d2db89
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ static unsigned char ctx_avail = CONTEXTS_NUM-1;
|
|||
unsigned long rom_pages[256];
|
||||
|
||||
/* Print a PTE value in symbolic form. For debugging. */
|
||||
void print_pte (pte_t pte)
|
||||
static void print_pte(pte_t pte)
|
||||
{
|
||||
#if 0
|
||||
/* Verbose version. */
|
||||
|
|
Loading…
Reference in a new issue