diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-14 00:05:31 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-14 00:05:31 -0500 |
commit | fb0255fb2941ef6f21742b2bc146d6b9aef4fedc (patch) | |
tree | 8334f3485152b1c887ddfe04ba9a95c8a704481c /drivers/tty/serial/sn_console.c | |
parent | 449fcf3ab0baf3dde9952385e6789f2ca10c3980 (diff) | |
parent | 57f5d648c45c3d40a3257c06629c14fd53c383bc (diff) |
Merge tag 'tty-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
Pull tty/serial updates from Greg KH:
"Here is the big tty/serial driver pull request for 4.15-rc1.
Lots of serial driver updates in here, some small vt cleanups, and a
raft of SPDX and license boilerplate cleanups, messing up the diffstat
a bit.
Nothing major, with no realy functional changes except better hardware
support for some platforms.
All of these have been in linux-next for a while with no reported
issues"
* tag 'tty-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (110 commits)
tty: ehv_bytechan: fix spelling mistake
tty: serial: meson: allow baud-rates lower than 9600
serial: 8250_fintek: Fix crash with baud rate B0
serial: 8250_fintek: Disable delays for ports != 0
serial: 8250_fintek: Return -EINVAL on invalid configuration
tty: Remove redundant license text
tty: serdev: Remove redundant license text
tty: hvc: Remove redundant license text
tty: serial: Remove redundant license text
tty: add SPDX identifiers to all remaining files in drivers/tty/
tty: serial: jsm: remove redundant pointer ts
tty: serial: jsm: add space before the open parenthesis '('
tty: serial: jsm: fix coding style
tty: serial: jsm: delete space between function name and '('
tty: serial: jsm: add blank line after declarations
tty: serial: jsm: change the type of local variable
tty: serial: imx: remove dead code imx_dma_rxint
tty: serial: imx: disable ageing timer interrupt if dma in use
serial: 8250: fix potential deadlock in rs485-mode
serial: m32r_sio: Drop redundant .data assignment
...
Diffstat (limited to 'drivers/tty/serial/sn_console.c')
-rw-r--r-- | drivers/tty/serial/sn_console.c | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/drivers/tty/serial/sn_console.c b/drivers/tty/serial/sn_console.c index 9e0e6586c698..ed78542c4c37 100644 --- a/drivers/tty/serial/sn_console.c +++ b/drivers/tty/serial/sn_console.c | |||
@@ -8,25 +8,6 @@ | |||
8 | * | 8 | * |
9 | * Copyright (c) 2004-2006 Silicon Graphics, Inc. All Rights Reserved. | 9 | * Copyright (c) 2004-2006 Silicon Graphics, Inc. All Rights Reserved. |
10 | * | 10 | * |
11 | * This program is free software; you can redistribute it and/or modify it | ||
12 | * under the terms of version 2 of the GNU General Public License | ||
13 | * as published by the Free Software Foundation. | ||
14 | * | ||
15 | * This program is distributed in the hope that it would be useful, but | ||
16 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
18 | * | ||
19 | * Further, this software is distributed without any warranty that it is | ||
20 | * free of the rightful claim of any third person regarding infringement | ||
21 | * or the like. Any license provided herein, whether implied or | ||
22 | * otherwise, applies only to this software file. Patent licenses, if | ||
23 | * any, provided herein do not apply to combinations of this program with | ||
24 | * other software, or any other product whatsoever. | ||
25 | * | ||
26 | * You should have received a copy of the GNU General Public | ||
27 | * License along with this program; if not, write the Free Software | ||
28 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. | ||
29 | * | ||
30 | * Contact information: Silicon Graphics, Inc., 1500 Crittenden Lane, | 11 | * Contact information: Silicon Graphics, Inc., 1500 Crittenden Lane, |
31 | * Mountain View, CA 94043, or: | 12 | * Mountain View, CA 94043, or: |
32 | * | 13 | * |
@@ -687,9 +668,7 @@ static void __init sn_sal_switch_to_asynch(struct sn_cons_port *port) | |||
687 | * timer to poll for input and push data from the console | 668 | * timer to poll for input and push data from the console |
688 | * buffer. | 669 | * buffer. |
689 | */ | 670 | */ |
690 | init_timer(&port->sc_timer); | 671 | setup_timer(&port->sc_timer, sn_sal_timer_poll, (unsigned long)port); |
691 | port->sc_timer.function = sn_sal_timer_poll; | ||
692 | port->sc_timer.data = (unsigned long)port; | ||
693 | 672 | ||
694 | if (IS_RUNNING_ON_SIMULATOR()) | 673 | if (IS_RUNNING_ON_SIMULATOR()) |
695 | port->sc_interrupt_timeout = 6; | 674 | port->sc_interrupt_timeout = 6; |