nubus: Use static functions where possible

This fixes a couple of warnings from 'make W=1':
drivers/nubus/nubus.c:790: warning: no previous prototype for 'nubus_probe_slot'
drivers/nubus/nubus.c:824: warning: no previous prototype for 'nubus_scan_bus'

Tested-by: Stan Johnson <[email protected]>
Signed-off-by: Finn Thain <[email protected]>
Signed-off-by: Geert Uytterhoeven <[email protected]>
This commit is contained in:
Finn Thain 2018-01-13 17:37:13 -05:00 • committed by Geert Uytterhoeven
commit 460cf95e8b
2 changed files with 2 additions and 3 deletions

View file

@ -793,7 +793,7 @@ static struct nubus_board * __init nubus_add_board(int slot, int bytelanes)
return board;
}
void __init nubus_probe_slot(int slot)
static void __init nubus_probe_slot(int slot)
{
unsigned char dp;
unsigned char *rp;
@ -827,7 +827,7 @@ void __init nubus_probe_slot(int slot)
}
}
void __init nubus_scan_bus(void)
static void __init nubus_scan_bus(void)
{
int slot;