On Sat, Feb 04, 2023 at 11:01:35AM +0530, Kumaravel Thiagarajan wrote: > Move implementation of setup_port func() to serial8250_pci_setup_port. ... > +++ b/drivers/tty/serial/8250/8250_pcilib.c > +#include <linux/errno.h> > +#include <linux/ioport.h> > +#include <linux/pci.h> > +#include <linux/types.h> > + > +#include "8250.h" Ah, of course, you missed #include "8250_pcilib.h" here. -- With Best Regards, Andy Shevchenko