Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
fa503878
Commit
fa503878
authored
Mar 07, 2004
by
Pat Gefre
Committed by
David Mosberger
Mar 07, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ia64: fix SN2 console driver to use console_initcall()
parent
81110cb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
drivers/char/sn_serial.c
drivers/char/sn_serial.c
+4
-6
No files found.
drivers/char/sn_serial.c
View file @
fa503878
...
...
@@ -82,7 +82,6 @@ static DECLARE_TASKLET(sn_sal_tasklet, sn_sal_tasklet_action, 0);
static
unsigned
long
sn_interrupt_timeout
;
extern
u64
master_node_bedrock_address
;
static
int
sn_debug_printf
(
const
char
*
fmt
,
...);
#undef DEBUG
...
...
@@ -105,7 +104,7 @@ struct sn_sal_ops {
static
struct
sn_sal_ops
*
sn_func
;
/* Prototypes */
static
void
__init
sn_sal_serial_console_init
(
void
);
int
__init
sn_sal_serial_console_init
(
void
);
static
int
snt_hw_puts
(
const
char
*
,
int
);
static
int
snt_poll_getc
(
void
);
static
int
snt_poll_input_pending
(
void
);
...
...
@@ -921,9 +920,6 @@ sn_sal_module_init(void)
printk
(
KERN_ERR
"sn_serial: Unable to register tty driver
\n
"
);
return
retval
;
}
#ifdef CONFIG_SGI_L1_SERIAL_CONSOLE
sn_sal_serial_console_init
();
#endif
/* CONFIG_SGI_L1_SERIAL_CONSOLE */
return
0
;
}
...
...
@@ -1015,7 +1011,7 @@ static struct console sal_console = {
.
index
=
-
1
};
static
void
__init
int
__init
sn_sal_serial_console_init
(
void
)
{
if
(
ia64_platform_is
(
"sn2"
))
{
...
...
@@ -1023,6 +1019,8 @@ sn_sal_serial_console_init(void)
sn_debug_printf
(
"sn_sal_serial_console_init : register console
\n
"
);
register_console
(
&
sal_console
);
}
return
0
;
}
console_initcall
(
sn_sal_serial_console_init
);
#endif
/* CONFIG_SGI_L1_SERIAL_CONSOLE */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment