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
31388750
Commit
31388750
authored
Dec 08, 2006
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
serial: sh-sci: Shut up various sci_rxd_in() gcc4 warnings.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
ec723fbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
drivers/serial/sh-sci.h
drivers/serial/sh-sci.h
+5
-0
No files found.
drivers/serial/sh-sci.h
View file @
31388750
...
...
@@ -495,6 +495,7 @@ static inline int sci_rxd_in(struct uart_port *port)
return
ctrl_inw
(
SCSPTR1
)
&
0x0001
?
1
:
0
;
/* SCIF */
if
(
port
->
mapbase
==
0xfe620000
)
return
ctrl_inw
(
SCSPTR2
)
&
0x0001
?
1
:
0
;
/* SCIF */
return
1
;
}
#elif defined(CONFIG_CPU_SUBTYPE_SH7300)
static
inline
int
sci_rxd_in
(
struct
uart_port
*
port
)
...
...
@@ -550,6 +551,7 @@ static inline int sci_rxd_in(struct uart_port *port)
return
ctrl_inw
(
SCSPTR1
)
&
0x0001
?
1
:
0
;
/* SCIF */
if
(
port
->
mapbase
==
0xff925000
)
return
ctrl_inw
(
SCSPTR2
)
&
0x0001
?
1
:
0
;
/* SCIF */
return
1
;
}
#elif defined(CONFIG_CPU_SUBTYPE_SH7780)
static
inline
int
sci_rxd_in
(
struct
uart_port
*
port
)
...
...
@@ -558,6 +560,7 @@ static inline int sci_rxd_in(struct uart_port *port)
return
ctrl_inw
(
SCSPTR0
)
&
0x0001
?
1
:
0
;
/* SCIF */
if
(
port
->
mapbase
==
0xffe10000
)
return
ctrl_inw
(
SCSPTR1
)
&
0x0001
?
1
:
0
;
/* SCIF */
return
1
;
}
#elif defined(CONFIG_CPU_SUBTYPE_SH7206)
static
inline
int
sci_rxd_in
(
struct
uart_port
*
port
)
...
...
@@ -570,6 +573,7 @@ static inline int sci_rxd_in(struct uart_port *port)
return
ctrl_inw
(
SCSPTR2
)
&
0x0001
?
1
:
0
;
/* SCIF */
if
(
port
->
mapbase
==
0xfffe9800
)
return
ctrl_inw
(
SCSPTR3
)
&
0x0001
?
1
:
0
;
/* SCIF */
return
1
;
}
#elif defined(CONFIG_CPU_SUBTYPE_SH7619)
static
inline
int
sci_rxd_in
(
struct
uart_port
*
port
)
...
...
@@ -580,6 +584,7 @@ static inline int sci_rxd_in(struct uart_port *port)
return
ctrl_inw
(
SCSPTR1
)
&
0x0001
?
1
:
0
;
/* SCIF */
if
(
port
->
mapbase
==
0xf8420000
)
return
ctrl_inw
(
SCSPTR2
)
&
0x0001
?
1
:
0
;
/* SCIF */
return
1
;
}
#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