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
4ac9ccd4
Commit
4ac9ccd4
authored
Apr 13, 2003
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SERIAL] Console initcalls return int, zero for success.
parent
474d3079
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
8 deletions
+14
-8
drivers/serial/68328serial.c
drivers/serial/68328serial.c
+2
-1
drivers/serial/amba.c
drivers/serial/amba.c
+2
-1
drivers/serial/anakin.c
drivers/serial/anakin.c
+2
-2
drivers/serial/clps711x.c
drivers/serial/clps711x.c
+2
-1
drivers/serial/mcfserial.c
drivers/serial/mcfserial.c
+2
-1
drivers/serial/sa1100.c
drivers/serial/sa1100.c
+2
-1
drivers/serial/uart00.c
drivers/serial/uart00.c
+2
-1
No files found.
drivers/serial/68328serial.c
View file @
4ac9ccd4
...
@@ -1691,9 +1691,10 @@ static struct console m68328_driver = {
...
@@ -1691,9 +1691,10 @@ static struct console m68328_driver = {
};
};
static
void
__init
m68328_console_init
(
void
)
static
int
__init
m68328_console_init
(
void
)
{
{
register_console
(
&
m68328_driver
);
register_console
(
&
m68328_driver
);
return
0
;
}
}
console_initcall
(
m68328_console_init
);
console_initcall
(
m68328_console_init
);
drivers/serial/amba.c
View file @
4ac9ccd4
...
@@ -705,9 +705,10 @@ static struct console amba_console = {
...
@@ -705,9 +705,10 @@ static struct console amba_console = {
.
index
=
-
1
,
.
index
=
-
1
,
};
};
static
void
__init
ambauart_console_init
(
void
)
static
int
__init
ambauart_console_init
(
void
)
{
{
register_console
(
&
amba_console
);
register_console
(
&
amba_console
);
return
0
;
}
}
console_initcall
(
ambauart_console_init
);
console_initcall
(
ambauart_console_init
);
...
...
drivers/serial/anakin.c
View file @
4ac9ccd4
...
@@ -502,10 +502,10 @@ static struct console anakin_console = {
...
@@ -502,10 +502,10 @@ static struct console anakin_console = {
.
index
=
-
1
,
.
index
=
-
1
,
};
};
static
void
__init
static
int
__init
anakin_console_init
(
void
)
anakin_console_init
(
void
)
{
{
register_console
(
&
anakin_console
);
register_console
(
&
anakin_console
);
return
0
;
}
}
console_initcall
(
anakin_console_init
);
console_initcall
(
anakin_console_init
);
...
...
drivers/serial/clps711x.c
View file @
4ac9ccd4
...
@@ -567,9 +567,10 @@ static struct console clps711x_console = {
...
@@ -567,9 +567,10 @@ static struct console clps711x_console = {
.
index
=
-
1
,
.
index
=
-
1
,
};
};
static
void
__init
clps711xuart_console_init
(
void
)
static
int
__init
clps711xuart_console_init
(
void
)
{
{
register_console
(
&
clps711x_console
);
register_console
(
&
clps711x_console
);
return
0
;
}
}
console_initcall
(
clps711xuart_console_init
);
console_initcall
(
clps711xuart_console_init
);
...
...
drivers/serial/mcfserial.c
View file @
4ac9ccd4
...
@@ -1853,9 +1853,10 @@ struct console mcfrs_console = {
...
@@ -1853,9 +1853,10 @@ struct console mcfrs_console = {
.
index
=
-
1
,
.
index
=
-
1
,
};
};
static
void
__init
mcfrs_console_init
(
void
)
static
int
__init
mcfrs_console_init
(
void
)
{
{
register_console
(
&
mcfrs_console
);
register_console
(
&
mcfrs_console
);
return
0
;
}
}
console_initcall
(
mcfrs_console_init
);
console_initcall
(
mcfrs_console_init
);
...
...
drivers/serial/sa1100.c
View file @
4ac9ccd4
...
@@ -836,10 +836,11 @@ static struct console sa1100_console = {
...
@@ -836,10 +836,11 @@ static struct console sa1100_console = {
.
index
=
-
1
,
.
index
=
-
1
,
};
};
static
void
__init
sa1100_rs_console_init
(
void
)
static
int
__init
sa1100_rs_console_init
(
void
)
{
{
sa1100_init_ports
();
sa1100_init_ports
();
register_console
(
&
sa1100_console
);
register_console
(
&
sa1100_console
);
return
0
;
}
}
console_initcall
(
sa1100_rs_console_init
);
console_initcall
(
sa1100_rs_console_init
);
...
...
drivers/serial/uart00.c
View file @
4ac9ccd4
...
@@ -645,9 +645,10 @@ static struct console uart00_console = {
...
@@ -645,9 +645,10 @@ static struct console uart00_console = {
.
index
=
0
,
.
index
=
0
,
};
};
static
void
__init
uart00_console_init
(
void
)
static
int
__init
uart00_console_init
(
void
)
{
{
register_console
(
&
uart00_console
);
register_console
(
&
uart00_console
);
return
0
;
}
}
console_initcall
(
uart00_console_init
);
console_initcall
(
uart00_console_init
);
...
...
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