Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
omapconf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
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
packages
omapconf
Commits
10798ae5
Commit
10798ae5
authored
Aug 25, 2015
by
Nishanth Menon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[OMAP][COMMON] Fix build warnings
Fix a bunch of build warnings Signed-off-by:
Nishanth Menon
<
nm@ti.com
>
parent
9dee5db5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
arch/arm/mach-omap/common/statcoll/sci.c
arch/arm/mach-omap/common/statcoll/sci.c
+2
-2
arch/arm/mach-omap/common/statcoll/sci_swcapture.c
arch/arm/mach-omap/common/statcoll/sci_swcapture.c
+5
-5
arch/arm/mach-omap/common/timestamp_32k.c
arch/arm/mach-omap/common/timestamp_32k.c
+1
-1
No files found.
arch/arm/mach-omap/common/statcoll/sci.c
View file @
10798ae5
...
...
@@ -394,7 +394,7 @@ enum sci_err sci_get_version(psci_handle const phandle, uint32_t * const plib_ma
{
int
i
;
int
tmp_cnt
;
uint32_t
pmod_type_id
;
uint32_t
pmod_type_id
=
0
;
enum
sci_err
ret_err
=
SCI_SUCCESS
;
/* Note that this function can be called with a NULL handle since
...
...
@@ -1149,7 +1149,7 @@ enum sci_err sci_dump_sdram_cntrs(int num_sci_cntrs, uint32_t * pbuf)
enum
sci_err
sci_dump_cntrs
(
psci_handle
const
phandle
,
psci_usecase_key
usecase_key
,
int
num_sci_cntrs
,
uint32_t
*
pbuf
)
{
/* Dump the counters to pbuf for the provided usecase_key */
reg32_t
*
pdump_cntrs
;
reg32_t
*
pdump_cntrs
=
NULL
;
enum
sci_err
ret_err
=
SCI_SUCCESS
;
...
...
arch/arm/mach-omap/common/statcoll/sci_swcapture.c
View file @
10798ae5
...
...
@@ -549,7 +549,7 @@ int statcoll_main(int argc, char **argv)
case
'p'
:
{
unsigned
int
loop
=
0
;
unsigned
int
index
;
unsigned
int
index
=
0
;
if
(
long_opt
==
1
)
{
index
=
long_options
[
option_index
].
name
[
1
]
-
'0'
;
...
...
@@ -1034,8 +1034,8 @@ void sci_errhandler(psci_handle phandle, const char * func, enum sci_err err)
void
nosleep_32k_enable
(
void
)
{
unsigned
int
reg
;
unsigned
int
reg_clk
;
unsigned
int
reg
=
0
;
unsigned
int
reg_clk
=
0
;
if
(
cpu_is_omap54xx
())
{
if
(
cpu_revision_get
()
==
REV_ES1_0
)
...
...
@@ -1053,8 +1053,8 @@ void nosleep_32k_enable(void)
void
nosleep_32k_disable
(
void
)
{
unsigned
int
reg
;
unsigned
int
reg_clk
;
unsigned
int
reg
=
0
;
unsigned
int
reg_clk
=
0
;
if
(
cpu_is_omap54xx
())
{
if
(
cpu_revision_get
()
==
REV_ES1_0
)
...
...
arch/arm/mach-omap/common/timestamp_32k.c
View file @
10798ae5
...
...
@@ -65,7 +65,7 @@ static volatile unsigned int *addr_32k = NULL;
*//*------------------------------------------------------------------------ */
volatile
unsigned
int
*
mem_map_32k
(
void
)
{
unsigned
int
reg_32k
;
unsigned
int
reg_32k
=
0
;
if
(
cpu_is_omap54xx
()
||
cpu_is_dra7xx
())
reg_32k
=
OMAP5430_CR
;
...
...
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