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
Kirill Smelkov
linux
Commits
c75efab2
Commit
c75efab2
authored
Jul 27, 2002
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SERIAL] Fix initialiser warnings for HUB6 ports
We were missing an element in the old_serial_port structure.
parent
c249c322
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
drivers/serial/8250.c
drivers/serial/8250.c
+1
-0
drivers/serial/8250.h
drivers/serial/8250.h
+1
-0
No files found.
drivers/serial/8250.c
View file @
c75efab2
...
...
@@ -1707,6 +1707,7 @@ static void __init serial8250_isa_init_ports(void)
serial8250_ports
[
i
].
port
.
irq
=
irq_cannonicalize
(
old_serial_port
[
i
].
irq
);
serial8250_ports
[
i
].
port
.
uartclk
=
old_serial_port
[
i
].
base_baud
*
16
;
serial8250_ports
[
i
].
port
.
flags
=
old_serial_port
[
i
].
flags
;
serial8250_ports
[
i
].
port
.
hub6
=
old_serial_port
[
i
].
hub6
;
serial8250_ports
[
i
].
port
.
ops
=
&
serial8250_pops
;
}
}
...
...
drivers/serial/8250.h
View file @
c75efab2
...
...
@@ -34,6 +34,7 @@ struct old_serial_port {
unsigned
int
port
;
unsigned
int
irq
;
unsigned
int
flags
;
unsigned
char
hub6
;
};
#undef SERIAL_DEBUG_PCI
...
...
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