]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/tty/serial/stm32-usart.c
serial: stm32-usart: Fix SysRq support
authorMaxime Coquelin <mcoquelin.stm32@gmail.com>
Tue, 16 Jun 2015 09:12:19 +0000 (11:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jul 2015 00:37:53 +0000 (17:37 -0700)
commit6b596a834177f87846559f3f364b38cafdb13b61
treefe96bc65569e8a0b763ea3464b46d4023738b979
parent466e285b1f63e84a6ced5cd18c3c3d90bda73404
serial: stm32-usart: Fix SysRq support

SysRq support activation depends on CONFIG_SERIAL_STM32_USART_CONSOLE, but
this config flag does not exists.

This patch fix this by depending on the valid config flag, which is
SERIAL_STM32_CONSOLE.

Reported-by: Andreas Ruprecht <andreas.ruprecht@fau.de>
Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/stm32-usart.c