Re: [PATCH] serial: pch_uart: fix sysrq handling for pch_uart

2013-01-24 Thread Randy Dunlap
On 01/23/13 20:31, Liang Li wrote: > 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/pc

[PATCH] serial: pch_uart: fix sysrq handling for pch_uart

2013-01-23 Thread Liang Li
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 func