summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/chrp
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2021-02-23 10:53:45 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2021-03-24 04:09:29 +0100
commit9634afa67bfd933b231405d05dda37ffa169f32c (patch)
treecba4772f049d29e0a77441d97f20bcec3ae3f733 /arch/powerpc/platforms/chrp
parentpowerpc/mm: Move the linear_mapping_mutex to the ifdef where it is used (diff)
downloadlinux-9634afa67bfd933b231405d05dda37ffa169f32c.tar.xz
linux-9634afa67bfd933b231405d05dda37ffa169f32c.zip
powerpc/chrp: Make hydra_init() static
Commit 407d418f2fd4c20a ("powerpc/chrp: Move PHB discovery") moved the sole call to hydra_init() to the source file where it is defined, so it can be made static. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210223095345.2139416-1-geert@linux-m68k.org
Diffstat (limited to 'arch/powerpc/platforms/chrp')
-rw-r--r--arch/powerpc/platforms/chrp/pci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/chrp/pci.c b/arch/powerpc/platforms/chrp/pci.c
index 8c421dc78b28..76e6256cb0a7 100644
--- a/arch/powerpc/platforms/chrp/pci.c
+++ b/arch/powerpc/platforms/chrp/pci.c
@@ -131,8 +131,7 @@ static struct pci_ops rtas_pci_ops =
volatile struct Hydra __iomem *Hydra = NULL;
-int __init
-hydra_init(void)
+static int __init hydra_init(void)
{
struct device_node *np;
struct resource r;