Messages in this thread |  | | From | <> | Subject | RE: [PATCH v6 tty-next 2/4] serial: 8250_pci1xxxx: Add driver for quad-uart support. | Date | Sun, 4 Dec 2022 10:39:09 +0000 |
| |
> From: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> > Sent: Thursday, December 1, 2022 3:10 PM > To: Kumaravel Thiagarajan - I21417 > <Kumaravel.Thiagarajan@microchip.com> > Subject: Re: [PATCH v6 tty-next 2/4] serial: 8250_pci1xxxx: Add driver for > quad-uart support. > > > + {3, -1, -1, -1} /* PCI1p3 */ > > Add comma also to the last item. > > This array can go outside of function's scope.
Okay, I will create a new function get_physical_port and declare static array inside the function. I will call the function to get value from the array whenever required. The scope of the function Will be throughout the file.
Thanks, Tharun Kumar P
|  |