diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2018-01-13 23:37:13 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2018-01-16 16:47:29 +0100 |
commit | 460cf95e8b6cda2823a6432253ae91d3e1e7a021 (patch) | |
tree | e5fec7751071ab499bd26a9c0ad69ffd9f588bd5 /drivers/nubus | |
parent | nubus: Fix up header split (diff) | |
download | linux-460cf95e8b6cda2823a6432253ae91d3e1e7a021.tar.xz linux-460cf95e8b6cda2823a6432253ae91d3e1e7a021.zip |
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 <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'drivers/nubus')
-rw-r--r-- | drivers/nubus/nubus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nubus/nubus.c b/drivers/nubus/nubus.c index b6c97e07f15e..35056cee94b1 100644 --- a/drivers/nubus/nubus.c +++ b/drivers/nubus/nubus.c @@ -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; |