2021-09-03 08:26:12

by Christophe Leroy

[permalink] [raw]
Subject: [PATCH] powerpc/powermac: Remove stale declaration of pmac_md

pmac_md doesn't exist anymore, remove stall declaration.

Fixes: e8222502ee61 ("[PATCH] powerpc: Kill _machine and hard-coded platform numbers")
Signed-off-by: Christophe Leroy <[email protected]>
---
arch/powerpc/platforms/powermac/setup.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/powerpc/platforms/powermac/setup.c b/arch/powerpc/platforms/powermac/setup.c
index 86aee3f2483f..13e8a8a9841c 100644
--- a/arch/powerpc/platforms/powermac/setup.c
+++ b/arch/powerpc/platforms/powermac/setup.c
@@ -79,8 +79,6 @@ int pmac_newworld;

static int current_root_goodness = -1;

-extern struct machdep_calls pmac_md;
-
#define DEFAULT_ROOT_DEVICE Root_SDA1 /* sda1 - slightly silly choice */

#ifdef CONFIG_PPC64
--
2.25.0


2021-10-11 16:25:09

by Michael Ellerman

[permalink] [raw]
Subject: Re: [PATCH] powerpc/powermac: Remove stale declaration of pmac_md

On Fri, 3 Sep 2021 08:23:52 +0000 (UTC), Christophe Leroy wrote:
> pmac_md doesn't exist anymore, remove stall declaration.
>

Applied to powerpc/next.

[1/1] powerpc/powermac: Remove stale declaration of pmac_md
https://git.kernel.org/powerpc/c/9d7fb0643a156a5dddd887814e1263b648501cb0

cheers