tty: fix warning in synclink driver