aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sn_console.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial/sn_console.c')
-rw-r--r--drivers/tty/serial/sn_console.c23
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;