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

From: Stephen Rothwell
Date: Thu Jun 13 2019 - 12:51:04 EST


Hi Greg,

After merging the tty tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

drivers/tty/serial/stm32-usart.c: In function 'stm32_serial_suspend':
drivers/tty/serial/stm32-usart.c:1298:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' [-Werror=implicit-function-declaration]
pinctrl_pm_select_sleep_state(dev);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/tty/serial/stm32-usart.c: In function 'stm32_serial_resume':
drivers/tty/serial/stm32-usart.c:1307:2: error: implicit declaration of function 'pinctrl_pm_select_default_state' [-Werror=implicit-function-declaration]
pinctrl_pm_select_default_state(dev);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Caused by commit

c70669ecef4e ("serial: stm32: select pinctrl state in each suspend/resume function")

I have used the tty tree from next-20190612 for today.
--
Cheers,
Stephen Rothwell

Attachment: pgpaLCHzo2Rir.pgp
Description: OpenPGP digital signature