aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powermac/smp.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-09-24 12:56:52 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2022-05-22 15:59:54 +1000
commitcc025916b12a452df7932da528d25b2ef2b05072 (patch)
treea7809f83c51b94be95b1f93b94c6816d8fc8183c /arch/powerpc/platforms/powermac/smp.c
parentselftests/powerpc/pmu: fix spelling mistake "mis-match" -> "mismatch" (diff)
downloadlinux-dev-cc025916b12a452df7932da528d25b2ef2b05072.tar.xz
linux-dev-cc025916b12a452df7932da528d25b2ef2b05072.zip
powerpc/powermac: add missing g5_phy_disable_cpu1() declaration
g5_phy_disable_cpu1() is used outside of platforms/powermac/feature.c, so it should have a declaration to fix W=1 warning: arch/powerpc/platforms/powermac/feature.c:1533:6: error: no previous prototype for ‘g5_phy_disable_cpu1’ [-Werror=missing-prototypes] Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210924105653.46963-1-krzysztof.kozlowski@canonical.com
Diffstat (limited to '')
-rw-r--r--arch/powerpc/platforms/powermac/smp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c
index 0798ecea2474..d9df45741ece 100644
--- a/arch/powerpc/platforms/powermac/smp.c
+++ b/arch/powerpc/platforms/powermac/smp.c
@@ -875,8 +875,6 @@ static int smp_core99_cpu_online(unsigned int cpu)
static void __init smp_core99_bringup_done(void)
{
- extern void __init g5_phy_disable_cpu1(void);
-
/* Close i2c bus if it was used for tb sync */
if (pmac_tb_clock_chip_host)
pmac_i2c_close(pmac_tb_clock_chip_host);