diff options
author | Chris Severance | 2023-01-03 03:42:39 -0500 |
---|---|---|
committer | Chris Severance | 2023-01-03 03:42:39 -0500 |
commit | 6a64238b6b33c7956eb0a27e215af3ea2bc66101 (patch) | |
tree | c2b58048735ca93462167e73b4f95b60aa952e97 /0003-kernel-6.0-set_termios-const-ktermios.patch | |
parent | 380343336a91421f5f726611540d2bfc535fba55 (diff) | |
download | aur-6a64238b6b33c7956eb0a27e215af3ea2bc66101.tar.gz |
autu: Update to 1.8.0-2
Diffstat (limited to '0003-kernel-6.0-set_termios-const-ktermios.patch')
-rw-r--r-- | 0003-kernel-6.0-set_termios-const-ktermios.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/0003-kernel-6.0-set_termios-const-ktermios.patch b/0003-kernel-6.0-set_termios-const-ktermios.patch new file mode 100644 index 000000000000..3d7a9f13534c --- /dev/null +++ b/0003-kernel-6.0-set_termios-const-ktermios.patch @@ -0,0 +1,18 @@ +diff -pNaru5 a/ax99100_sp.c b/ax99100_sp.c +--- a/ax99100_sp.c 2023-01-02 23:44:46.707423858 -0500 ++++ b/ax99100_sp.c 2023-01-02 23:44:27.171293092 -0500 +@@ -1915,11 +1915,13 @@ static unsigned int serial99100_get_divi + DEBUG("In %s quot=%u----baud=%u-----------------------------END\n",__FUNCTION__,quot,baud); + return quot; + } + + //This is a port ops function to set the terminal settings. +-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,0,0) ++static void serial99100_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) ++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20) + static void serial99100_set_termios(struct uart_port *port, struct ktermios *termios, struct ktermios *old) + #else + static void serial99100_set_termios(struct uart_port *port, struct termios *termios, struct termios *old) + #endif + { |