summaryrefslogtreecommitdiffstats
path: root/drivers/edac/altera_edac.h
diff options
context:
space:
mode:
authorDmitry Safonov <dima@arista.com>2019-12-13 01:06:22 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-18 15:04:51 +0100
commitba4508db5ba27482ef856775f02de0ac81a9c40a (patch)
tree6b09d00ad4346cfb7b6ace216afd91605c92d9b6 /drivers/edac/altera_edac.h
parenttty/serial: Migrate milbeaut_usio to use has_sysrq (diff)
downloadlinux-ba4508db5ba27482ef856775f02de0ac81a9c40a.tar.xz
linux-ba4508db5ba27482ef856775f02de0ac81a9c40a.zip
tty/serial: Migrate mpc52xx_uart to use has_sysrq
The SUPPORT_SYSRQ ifdeffery is not nice as: - May create misunderstanding about sizeof(struct uart_port) between different objects - Prevents moving functions from serial_core.h - Reduces readability (well, it's ifdeffery - it's hard to follow) In order to remove SUPPORT_SYSRQ, has_sysrq variable has been added. Initialise it in driver's probe and remove ifdeffery. Signed-off-by: Dmitry Safonov <dima@arista.com> Link: https://lore.kernel.org/r/20191213000657.931618-24-dima@arista.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/edac/altera_edac.h')
0 files changed, 0 insertions, 0 deletions