[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y4iaC7rRkBhyOIsI@smile.fi.intel.com>
Date: Thu, 1 Dec 2022 14:11:55 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
Cc: Kumaravel Thiagarajan <kumaravel.thiagarajan@...rochip.com>,
LKML <linux-kernel@...r.kernel.org>,
linux-serial <linux-serial@...r.kernel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>, macro@...am.me.uk,
jay.dolan@...esio.com, cang1@...e.co.uk,
u.kleine-koenig@...gutronix.de, wander@...hat.com,
etremblay@...tech-controls.com, jk@...abs.org,
biju.das.jz@...renesas.com, geert+renesas@...der.be,
phil.edworthy@...esas.com, Lukas Wunner <lukas@...ner.de>,
UNGLinuxDriver@...rochip.com, colin.i.king@...il.com,
Tharun Kumar P <tharunkumar.pasumarthi@...rochip.com>
Subject: Re: [PATCH v6 tty-next 1/4] serial: 8250_pci: Add
serial8250_pci_setup_port definition in 8250_pcilib.c
On Thu, Dec 01, 2022 at 11:06:53AM +0200, Ilpo Järvinen wrote:
> On Thu, 1 Dec 2022, Kumaravel Thiagarajan wrote:
...
> > +/*
> > + * 8250 PCI library header file.
> > + *
> > + * Copyright (C) 2001 Russell King, All Rights Reserved.
> > + */
>
> You shouldn't depend on .c file having things included for you. So
> please add these:
> #include "8250.h"
TBH I don't see how this is used here, but types.h for sure is missing.
> struct pci_dev;
+ blank line
struct uart_8250_port;
> Other than that,
> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
>
> > +int serial8250_pci_setup_port(struct pci_dev *dev, struct uart_8250_port *port, u8 bar,
> > + unsigned int offset, int regshift);
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists