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
bc49a661
Commit
bc49a661
authored
Sep 01, 2005
by
Russell King
Committed by
Russell King
Sep 01, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SERIAL] Move serial8250_*_port prototypes to linux/serial_8250.h
Signed-off-by:
Russell King
<
rmk+kernel@arm.linux.org.uk
>
parent
f8dd49fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
5 deletions
+17
-5
drivers/serial/8250.h
drivers/serial/8250.h
+1
-5
include/linux/serial_8250.h
include/linux/serial_8250.h
+16
-0
No files found.
drivers/serial/8250.h
View file @
bc49a661
...
...
@@ -16,11 +16,7 @@
*/
#include <linux/config.h>
int
serial8250_register_port
(
struct
uart_port
*
);
void
serial8250_unregister_port
(
int
line
);
void
serial8250_suspend_port
(
int
line
);
void
serial8250_resume_port
(
int
line
);
#include <linux/serial_8250.h>
struct
old_serial_port
{
unsigned
int
uart
;
...
...
include/linux/serial_8250.h
View file @
bc49a661
...
...
@@ -14,6 +14,9 @@
#include <linux/serial_core.h>
#include <linux/device.h>
/*
* This is the platform device platform_data structure
*/
struct
plat_serial8250_port
{
unsigned
long
iobase
;
/* io base address */
void
__iomem
*
membase
;
/* ioremap cookie or NULL */
...
...
@@ -26,4 +29,17 @@ struct plat_serial8250_port {
unsigned
int
flags
;
/* UPF_* flags */
};
/*
* This should be used by drivers which want to register
* their own 8250 ports without registering their own
* platform device. Using these will make your driver
* dependent on the 8250 driver.
*/
struct
uart_port
;
int
serial8250_register_port
(
struct
uart_port
*
);
void
serial8250_unregister_port
(
int
line
);
void
serial8250_suspend_port
(
int
line
);
void
serial8250_resume_port
(
int
line
);
#endif
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