diff options
| author | Liang Li <[email protected]> | 2013-01-24 04:31:27 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-01-25 16:52:23 +0000 |
| commit | e8c5b56fdca7bb3006914f0bf7d09b4d64254172 (patch) | |
| tree | 564fdae304ac7c4d2979d4387f7b9b09d3402baa /lib/cpu_rmap.c | |
| parent | n_tty: Unthrottle tty when flushing read buffer (diff) | |
| download | kernel-e8c5b56fdca7bb3006914f0bf7d09b4d64254172.tar.gz kernel-e8c5b56fdca7bb3006914f0bf7d09b4d64254172.zip | |
serial: pch_uart: fix sysrq handling for pch_uart
When PCH_UART_CONSOLE and SERIAL_CORE_CONSOLE is not set neither, the
uart_port will have no 'sysrq' member hence their will need a '#ifdef'
in pch_uart.c to handle the case, otherwise we'll see compile error
like this:
CC [M] drivers/tty/serial/pch_uart.o
drivers/tty/serial/pch_uart.c: In function 'pch_uart_hal_read':
drivers/tty/serial/pch_uart.c:572:11: error: 'struct uart_port' has no member named 'sysrq'
make[4]: *** [drivers/tty/serial/pch_uart.o] Error 1
Reported-by: Randy Dunlap <[email protected]>
CC: Stephen Rothwell <[email protected]>
Signed-off-by: Liang Li <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/cpu_rmap.c')
0 files changed, 0 insertions, 0 deletions
