powerpc/amigaone: Make amigaone_discover_phbs() static

It's only used in setup.c, so make it static.

Fixes: 053d58c870 ("powerpc/amigaone: Move PHB discovery")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210210130804.3190952-3-mpe@ellerman.id.au
This commit is contained in:
Michael Ellerman 2021-02-11 00:08:04 +11:00
parent 2bb421a3d9
commit f30520c64f
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ void __init amigaone_setup_arch(void)
ppc_md.progress("Linux/PPC "UTS_RELEASE"\n", 0);
}
void __init amigaone_discover_phbs(void)
static void __init amigaone_discover_phbs(void)
{
struct device_node *np;
int phb = -ENODEV;