diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2021-02-10 14:08:04 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-02-11 13:28:51 +0100 |
commit | f30520c64f290589e91461d7326b497c23e7f5fd (patch) | |
tree | 64bbea786edc4e0c8841262a737c3e225f516927 /arch | |
parent | powerpc/mm/64s: Fix no previous prototype warning (diff) | |
download | linux-f30520c64f290589e91461d7326b497c23e7f5fd.tar.xz linux-f30520c64f290589e91461d7326b497c23e7f5fd.zip |
powerpc/amigaone: Make amigaone_discover_phbs() static
It's only used in setup.c, so make it static.
Fixes: 053d58c87029 ("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
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/amigaone/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/amigaone/setup.c b/arch/powerpc/platforms/amigaone/setup.c index b25ddf39dd43..9d252c554f7f 100644 --- a/arch/powerpc/platforms/amigaone/setup.c +++ b/arch/powerpc/platforms/amigaone/setup.c @@ -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; |