projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aa3dc0
)
uart: fix support sysrq function. [1/1]
author
Yu Tu
<yu.tu@amlogic.com>
Wed, 20 Jun 2018 03:14:39 +0000
(11:14 +0800)
committer
Yu Tu
<yu.tu@amlogic.com>
Wed, 20 Jun 2018 03:18:30 +0000
(11:18 +0800)
PD#167742: uart: support sysrq
Change-Id: I67b183942047428a3aea35cbcf8ffae490319ac8
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
drivers/amlogic/uart/meson_uart.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/amlogic/uart/meson_uart.c
b/drivers/amlogic/uart/meson_uart.c
index b86ef6e731aeace9ad975a873ed6ba56d5e5ec59..132fc0d53da989f291f05887a1d867aeb7205df1 100644
(file)
--- a/
drivers/amlogic/uart/meson_uart.c
+++ b/
drivers/amlogic/uart/meson_uart.c
@@
-30,9
+30,8
@@
#include <linux/pinctrl/consumer.h>
#include <linux/clk-provider.h>
#include <linux/amlogic/iomap.h>
-#include <linux/serial_core.h>
-#if
def CONFIG_SUPPORT_SYSRQ
+#if
defined(CONFIG_AMLOGIC_SERIAL_MESON_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#include <linux/serial_core.h>