kernel: Backport ar933x_uart build fix (fixes FS#2152)
authorPetr Štetiar <ynezz@true.cz>
Tue, 19 Mar 2019 17:13:50 +0000 (18:13 +0100)
committerPetr Štetiar <ynezz@true.cz>
Wed, 20 Mar 2019 22:07:03 +0000 (23:07 +0100)
commit846f98056a77f8587bd3fd08a219f8a95f5f2f27
tree082efa14bf16183f27a9a22e1563f32d851b0a3f
parent31078dbc763c27d9d25aac9fb08eb39da7752c87
kernel: Backport ar933x_uart build fix (fixes FS#2152)

Andrey has reported on OpenWrt's bug tracking system[1], that he
currently can't use ar93xx_uart as pure serial UART without console
(CONFIG_SERIAL_8250_CONSOLE and CONFIG_SERIAL_AR933X_CONSOLE undefined),
because compilation ends with following error:

 ar933x_uart.c: In function 'ar933x_uart_console_write':
 ar933x_uart.c:550:14: error: 'struct uart_port' has no
                               member named 'sysrq'

1. https://bugs.openwrt.org/index.php?do=details&task_id=2152

Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/generic/backport-4.14/060-v5.1-serial-ar933x_uart-Fix-build-failure-with-disabled-c.patch [new file with mode: 0644]
target/linux/generic/backport-4.19/060-v5.1-serial-ar933x_uart-Fix-build-failure-with-disabled-c.patch [new file with mode: 0644]