diff options
| author | Soren Brinkmann <[email protected]> | 2013-12-02 11:38:38 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-12-17 16:02:25 -0800 |
| commit | c2db11eca089b60148ded7467b956a547e8a2ae0 (patch) | |
| tree | 5cb472402ce76eb20f1849e6c790ac0496065fb1 /tools/perf/scripts/python | |
| parent | 1075a6e2dc7e2a96efc417b98dd98f57fdae985d (diff) | |
tty: xuartps: Properly guard sysrq specific code
Commit 'tty: xuartps: Implement BREAK detection, add SYSRQ support'
(0c0c47bc40a2e358d593b2d7fb93b50027fbfc0c) introduced sysrq support
without properly guarding sysrq specific code which results in build
errors when sysrq is disabled:
DNAME=KBUILD_STR(xilinx_uartps)" -c -o
drivers/tty/serial/.tmp_xilinx_uartps.o
drivers/tty/serial/xilinx_uartps.c
drivers/tty/serial/xilinx_uartps.c: In function 'xuartps_isr':
drivers/tty/serial/xilinx_uartps.c:247:5: error: 'struct uart_port'
has no member named 'sysrq'
drivers/tty/serial/xilinx_uartps.c:247:5: error: 'struct uart_port'
has no member named 'sysrq'
drivers/tty/serial/xilinx_uartps.c:247:5: error: 'struct uart_port'
has no member named 'sysrq'
make[3]: *** [drivers/tty/serial/xilinx_uartps.o] Error 1
Reported-by: Masanari Iida <[email protected]>
Cc: Vlad Lungu <[email protected]>
Signed-off-by: Soren Brinkmann <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions