summarylogtreecommitdiffstats
path: root/0000-kernel-4.18-proc_fops-to-proc_show.patch
diff options
context:
space:
mode:
authorChris Severance2020-05-21 13:40:43 -0400
committerChris Severance2020-05-21 13:40:43 -0400
commitefed4a93be818bcfde41f40a2f293b24274fcbc1 (patch)
tree8bec2d65822a2d03205e4a66f59da6e2fb9bfe79 /0000-kernel-4.18-proc_fops-to-proc_show.patch
parenta1c74024115468680880202779b3c3fbea1f10b6 (diff)
downloadaur-efed4a93be818bcfde41f40a2f293b24274fcbc1.tar.gz
autu: Update to 1.43-2
Diffstat (limited to '0000-kernel-4.18-proc_fops-to-proc_show.patch')
-rw-r--r--0000-kernel-4.18-proc_fops-to-proc_show.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/0000-kernel-4.18-proc_fops-to-proc_show.patch b/0000-kernel-4.18-proc_fops-to-proc_show.patch
deleted file mode 100644
index 3179dc230bb3..000000000000
--- a/0000-kernel-4.18-proc_fops-to-proc_show.patch
+++ /dev/null
@@ -1,44 +0,0 @@
---- driver/serial_core.c.orig 2018-06-11 11:13:38.000000000 -0400
-+++ driver/serial_core.c 2019-03-10 20:43:11.777035590 -0400
-@@ -1885,10 +1885,11 @@ static int uart_proc_show(struct seq_fil
- for (i = 0; i < drv->nr; i++)
- uart_line_info(m, drv, i);
- return 0;
- }
-
-+#if (LINUX_VERSION_CODE < KERNEL_VERSION(4,18,0))
- static int uart_proc_open(struct inode *inode, struct file *file)
- {
- #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0))
- return single_open(file, uart_proc_show, PDE_DATA(inode));
- #else
-@@ -1902,10 +1903,11 @@ static const struct file_operations uart
- .read = seq_read,
- .llseek = seq_lseek,
- .release = single_release,
- };
- #endif
-+#endif
-
- #if defined(CONFIG_SERIAL_CORE_CONSOLE) || defined(CONFIG_CONSOLE_POLL)
- /*
- * cti_uart_console_write - write a console message to a serial port
- * @port: the port to write the message
-@@ -2443,13 +2445,17 @@ static const struct tty_operations uart_
- .stop = uart_stop,
- .start = uart_start,
- .hangup = uart_hangup,
- .break_ctl = uart_break_ctl,
- .wait_until_sent= uart_wait_until_sent,
-+#if (LINUX_VERSION_CODE < KERNEL_VERSION(4,18,0))
- #ifdef CONFIG_PROC_FS
- .proc_fops = &uart_proc_fops,
- #endif
-+#else
-+ .proc_show = &uart_proc_show,
-+#endif
- .tiocmget = uart_tiocmget,
- .tiocmset = uart_tiocmset,
- .get_icount = uart_get_icount,
- #ifdef CONFIG_CONSOLE_POLL
- .poll_init = uart_poll_init,