Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
ea8874dc
Commit
ea8874dc
authored
Jan 04, 2006
by
Russell King
Committed by
Russell King
Jan 04, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SERIAL] Remove _INLINE_
Signed-off-by:
Russell King
<
rmk+kernel@arm.linux.org.uk
>
parent
45e24601
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
drivers/serial/8250.c
drivers/serial/8250.c
+4
-4
drivers/serial/8250.h
drivers/serial/8250.h
+0
-6
No files found.
drivers/serial/8250.c
View file @
ea8874dc
...
@@ -296,7 +296,7 @@ static inline int map_8250_out_reg(struct uart_8250_port *up, int offset)
...
@@ -296,7 +296,7 @@ static inline int map_8250_out_reg(struct uart_8250_port *up, int offset)
#endif
#endif
static
_INLINE_
unsigned
int
serial_in
(
struct
uart_8250_port
*
up
,
int
offset
)
static
unsigned
int
serial_in
(
struct
uart_8250_port
*
up
,
int
offset
)
{
{
offset
=
map_8250_in_reg
(
up
,
offset
)
<<
up
->
port
.
regshift
;
offset
=
map_8250_in_reg
(
up
,
offset
)
<<
up
->
port
.
regshift
;
...
@@ -321,7 +321,7 @@ static _INLINE_ unsigned int serial_in(struct uart_8250_port *up, int offset)
...
@@ -321,7 +321,7 @@ static _INLINE_ unsigned int serial_in(struct uart_8250_port *up, int offset)
}
}
}
}
static
_INLINE_
void
static
void
serial_out
(
struct
uart_8250_port
*
up
,
int
offset
,
int
value
)
serial_out
(
struct
uart_8250_port
*
up
,
int
offset
,
int
value
)
{
{
offset
=
map_8250_out_reg
(
up
,
offset
)
<<
up
->
port
.
regshift
;
offset
=
map_8250_out_reg
(
up
,
offset
)
<<
up
->
port
.
regshift
;
...
@@ -1131,7 +1131,7 @@ static void serial8250_enable_ms(struct uart_port *port)
...
@@ -1131,7 +1131,7 @@ static void serial8250_enable_ms(struct uart_port *port)
serial_out
(
up
,
UART_IER
,
up
->
ier
);
serial_out
(
up
,
UART_IER
,
up
->
ier
);
}
}
static
_INLINE_
void
static
void
receive_chars
(
struct
uart_8250_port
*
up
,
int
*
status
,
struct
pt_regs
*
regs
)
receive_chars
(
struct
uart_8250_port
*
up
,
int
*
status
,
struct
pt_regs
*
regs
)
{
{
struct
tty_struct
*
tty
=
up
->
port
.
info
->
tty
;
struct
tty_struct
*
tty
=
up
->
port
.
info
->
tty
;
...
@@ -1217,7 +1217,7 @@ receive_chars(struct uart_8250_port *up, int *status, struct pt_regs *regs)
...
@@ -1217,7 +1217,7 @@ receive_chars(struct uart_8250_port *up, int *status, struct pt_regs *regs)
*
status
=
lsr
;
*
status
=
lsr
;
}
}
static
_INLINE_
void
transmit_chars
(
struct
uart_8250_port
*
up
)
static
void
transmit_chars
(
struct
uart_8250_port
*
up
)
{
{
struct
circ_buf
*
xmit
=
&
up
->
port
.
info
->
xmit
;
struct
circ_buf
*
xmit
=
&
up
->
port
.
info
->
xmit
;
int
count
;
int
count
;
...
...
drivers/serial/8250.h
View file @
ea8874dc
...
@@ -51,12 +51,6 @@ struct serial8250_config {
...
@@ -51,12 +51,6 @@ struct serial8250_config {
#define UART_BUG_TXEN (1 << 1)
/* UART has buggy TX IIR status */
#define UART_BUG_TXEN (1 << 1)
/* UART has buggy TX IIR status */
#define UART_BUG_NOMSR (1 << 2)
/* UART has buggy MSR status bits (Au1x00) */
#define UART_BUG_NOMSR (1 << 2)
/* UART has buggy MSR status bits (Au1x00) */
#if defined(__i386__) && (defined(CONFIG_M386) || defined(CONFIG_M486))
#define _INLINE_ inline
#else
#define _INLINE_
#endif
#define PROBE_RSA (1 << 0)
#define PROBE_RSA (1 << 0)
#define PROBE_ANY (~0)
#define PROBE_ANY (~0)
...
...
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