[PATCH 4.14 26/39] tty: link tty and port before configuring it as console