serial: core: Colocate crucial structure linkage
authorPeter Hurley <peter@hurleysoftware.com>
Thu, 16 Oct 2014 20:54:25 +0000 (16:54 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 02:53:55 +0000 (18:53 -0800)
commit2b702b9b680cd17dbdd93461dd3f66297e313809
tree115a2c9c163a7ef3185ec9f694e2b490a01e7d30
parent1f0afd1607cde1a58068937f8c247fd3c58a866d
serial: core: Colocate crucial structure linkage

The key function of uart_add_one_port() is to cross-reference the
UART driver's port structure with the serial core's state table;
keep the assignments together and document this crucial association.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_core.c