Re: [PATCH 2/2] serial: uartps: Use the same dynamin major number for all ports

2019-06-10 Thread Greg KH
On Mon, Jun 10, 2019 at 10:44:56AM +0200, Michal Simek wrote: > From: Shubhrajyoti Datta > > Let kernel to find out major number dynamically for the first device and > then reuse it for other instances. > This fixes the issue that each uart is registered with a > different major number. > > Afte

[PATCH 2/2] serial: uartps: Use the same dynamin major number for all ports

2019-06-10 Thread Michal Simek
From: Shubhrajyoti Datta Let kernel to find out major number dynamically for the first device and then reuse it for other instances. This fixes the issue that each uart is registered with a different major number. After the patch: crw---1 root root 253, 0 Jun 10 08:31 /dev/tty