[PATCH v2] powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y
Michael Ellerman
mpe at ellerman.id.au
Mon Jul 3 21:39:51 AEST 2023
On Fri, 30 Jun 2023 22:47:12 -0700, Randy Dunlap wrote:
> 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.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y
https://git.kernel.org/powerpc/c/39f49684036d24af800ff194c33c7b2653c591d7
cheers
More information about the Linuxppc-dev
mailing list