Skip to content

Commit 39f4968

Browse files
rddunlapmpe
authored andcommitted
powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y
In a randconfig with CONFIG_SERIAL_CPM=m and CONFIG_PPC_EARLY_DEBUG_CPM=y, there is a build error: ERROR: modpost: "udbg_putc" [drivers/tty/serial/cpm_uart/cpm_uart.ko] undefined! Prevent the build error by allowing PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y. Fixes: c374e00 ("[POWERPC] Add early debug console for CPM serial ports.") Signed-off-by: Randy Dunlap <[email protected]> Reviewed-by: Pali Rohár <[email protected]> Reviewed-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
1 parent d8b0bd5 commit 39f4968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/Kconfig.debug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ config PPC_EARLY_DEBUG_40x
240240

241241
config PPC_EARLY_DEBUG_CPM
242242
bool "Early serial debugging for Freescale CPM-based serial ports"
243-
depends on SERIAL_CPM
243+
depends on SERIAL_CPM=y
244244
help
245245
Select this to enable early debugging for Freescale chips
246246
using a CPM-based serial port. This assumes that the bootwrapper

0 commit comments

Comments
 (0)