From: Peter Hurley Date: Tue, 24 Feb 2015 19:25:00 +0000 (-0500) Subject: serial: core: Add minor field to uart_port X-Git-Tag: omap-for-v4.1/fixes-rc1~74^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=959801fef94b7ee66ea2c713229637a7e1770890;p=pandora-kernel.git serial: core: Add minor field to uart_port UART drivers that share ttyS namespace cannot trivially compute the ttyS index from the port->line value since the minor_start may be offset from minor 64. Further, to do so requires a pointer to the uart driver since there is no back pointer from uart_port to uart_driver. Rather than have UART drivers computing the minor value by themselves, encapsulate within the serial core at port registration time. Signed-off-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed