Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
98228529
Commit
98228529
authored
6 years ago
by
Florian La Roche
Browse files
Options
Download
Email Patches
Plain Diff
Change some vars and functions to be static.
Signed-off-by:
Florian La Roche
<
Florian.LaRoche@gmail.com
>
parent
7ca572d9
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
drivers/partition/partition.c
+1
-1
drivers/partition/partition.c
drivers/synopsys/ufs/dw_ufs.c
+1
-1
drivers/synopsys/ufs/dw_ufs.c
drivers/ufs/ufs.c
+1
-1
drivers/ufs/ufs.c
with
3 additions
and
3 deletions
+3
-3
drivers/partition/partition.c
View file @
98228529
...
...
@@ -16,7 +16,7 @@
#include <plat/common/platform.h>
static
uint8_t
mbr_sector
[
PARTITION_BLOCK_SIZE
];
partition_entry_list_t
list
;
static
partition_entry_list_t
list
;
#if LOG_LEVEL >= LOG_LEVEL_VERBOSE
static
void
dump_entries
(
int
num
)
...
...
This diff is collapsed.
Click to expand it.
drivers/synopsys/ufs/dw_ufs.c
View file @
98228529
...
...
@@ -183,7 +183,7 @@ static int dwufs_phy_set_pwr_mode(ufs_params_t *params)
return
0
;
}
const
ufs_ops_t
dw_ufs_ops
=
{
static
const
ufs_ops_t
dw_ufs_ops
=
{
.
phy_init
=
dwufs_phy_init
,
.
phy_set_pwr_mode
=
dwufs_phy_set_pwr_mode
,
};
...
...
This diff is collapsed.
Click to expand it.
drivers/ufs/ufs.c
View file @
98228529
...
...
@@ -591,7 +591,7 @@ void ufs_write_desc(int idn, int index, uintptr_t buf, size_t size)
ufs_query
(
QUERY_WRITE_DESC
,
idn
,
index
,
0
,
buf
,
size
);
}
void
ufs_read_capacity
(
int
lun
,
unsigned
int
*
num
,
unsigned
int
*
size
)
static
void
ufs_read_capacity
(
int
lun
,
unsigned
int
*
num
,
unsigned
int
*
size
)
{
utp_utrd_t
utrd
;
resp_upiu_t
*
resp
;
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help