diff options
| author | Dmitry Safonov <[email protected]> | 2019-12-13 00:06:03 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-12-17 15:16:17 +0100 |
| commit | 9b614afe6c8048cbab04aa269d6e2ce26335f85a (patch) | |
| tree | 3964f9f03ef16d2c581e2b3847ffea9b927b50f6 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 1997e9dfdc84c8f73d6fc318355cf9e313aba183 (diff) | |
tty/serial: Migrate aspeed_vuart 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.
Cc: Joel Stanley <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Dmitry Safonov <[email protected]>
Acked-by: Andrew Jeffery <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions