[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210601175304.2634549-1-trix@redhat.com>
Date: Tue, 1 Jun 2021 10:53:04 -0700
From: trix@...hat.com
To: christophe.leroy@...roup.eu, mpe@...erman.id.au,
benh@...nel.crashing.org, paulus@...ba.org
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
Tom Rix <trix@...hat.com>
Subject: [PATCH] powerpc/8xx: select CPM1 for MPC8XXFADS
From: Tom Rix <trix@...hat.com>
With MPC8XXFADS, there is this linker error
ppc64-linux-ld: m8xx_setup.o: in function `cpm_cascade':
m8xx_setup.c: undefined reference to `cpm_get_irq'
cpm_get_irq() is conditionally complied by CPM1
So add a select, like the other plaforms
Signed-off-by: Tom Rix <trix@...hat.com>
---
arch/powerpc/platforms/8xx/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/platforms/8xx/Kconfig b/arch/powerpc/platforms/8xx/Kconfig
index 60cc5b537a98..919082cdb2f1 100644
--- a/arch/powerpc/platforms/8xx/Kconfig
+++ b/arch/powerpc/platforms/8xx/Kconfig
@@ -10,6 +10,7 @@ choice
config MPC8XXFADS
bool "FADS"
+ select CPM1
config MPC86XADS
bool "MPC86XADS"
--
2.26.3
Powered by blists - more mailing lists