linux-next: build warnings after merge of the tty tree

From: Stephen Rothwell
Date: Thu Mar 15 2018 - 02:44:07 EST


Hi Greg,

After merging the tty tree, today's linux-next build (arm
multi_v7_defconfig) produced these warnings:

drivers/tty/serial/stm32-usart.c:155:12: warning: 'stm32_init_rs485' defined but not used [-Wunused-function]
static int stm32_init_rs485(struct uart_port *port,
^~~~~~~~~~~~~~~~
drivers/tty/serial/stm32-usart.c:100:12: warning: 'stm32_config_rs485' defined but not used [-Wunused-function]
static int stm32_config_rs485(struct uart_port *port,
^~~~~~~~~~~~~~~~~~

Introduced by commit

1bcda09d2910 ("serial: stm32: add support for RS485 hardware control mode")

--
Cheers,
Stephen Rothwell

Attachment: pgpFx37N3U2Bq.pgp
Description: OpenPGP digital signature