Re: [PATCH v2 2/2] MIPS: Fix build errors under CONFIG_HAVE_STD_PC_SERIAL_PORT

From: Tiezhu Yang
Date: Fri May 15 2020 - 03:54:55 EST


On 05/15/2020 03:39 PM, Thomas Bogendoerfer wrote:
On Fri, May 15, 2020 at 11:23:05AM +0800, Tiezhu Yang wrote:
When CONFIG_HAVE_STD_PC_SERIAL_PORT is set, include linux/module.h to fix
the following build errors:
how are you doing this ? To me it looks like this CONFIG option isn't
used anymore.

Because I will use arch/mips/kernel/8250-platform.c in the near future,
so make MACH_LOONGSON64 selects HAVE_STD_PC_SERIAL_PORT, then
I find the build errors.

Thanks,
Tiezhu Yang


Thomas.