Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jack Humbert
reform-boundary-uboot
Commits
6588c78b
Commit
6588c78b
authored
10 years ago
by
Jeroen Hofstee
Committed by
Tom Rini
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
sdhci: make local functions static
Signed-off-by:
Jeroen Hofstee
<
jeroen@myspectrum.nl
>
parent
44152979
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/mmc/sdhci.c
+3
-3
3 additions, 3 deletions
drivers/mmc/sdhci.c
with
3 additions
and
3 deletions
drivers/mmc/sdhci.c
+
3
−
3
View file @
6588c78b
...
@@ -124,7 +124,7 @@ static int sdhci_transfer_data(struct sdhci_host *host, struct mmc_data *data,
...
@@ -124,7 +124,7 @@ static int sdhci_transfer_data(struct sdhci_host *host, struct mmc_data *data,
#endif
#endif
#define CONFIG_SDHCI_CMD_DEFAULT_TIMEOUT 100
#define CONFIG_SDHCI_CMD_DEFAULT_TIMEOUT 100
int
sdhci_send_command
(
struct
mmc
*
mmc
,
struct
mmc_cmd
*
cmd
,
static
int
sdhci_send_command
(
struct
mmc
*
mmc
,
struct
mmc_cmd
*
cmd
,
struct
mmc_data
*
data
)
struct
mmc_data
*
data
)
{
{
struct
sdhci_host
*
host
=
mmc
->
priv
;
struct
sdhci_host
*
host
=
mmc
->
priv
;
...
@@ -355,7 +355,7 @@ static void sdhci_set_power(struct sdhci_host *host, unsigned short power)
...
@@ -355,7 +355,7 @@ static void sdhci_set_power(struct sdhci_host *host, unsigned short power)
sdhci_writeb
(
host
,
pwr
,
SDHCI_POWER_CONTROL
);
sdhci_writeb
(
host
,
pwr
,
SDHCI_POWER_CONTROL
);
}
}
void
sdhci_set_ios
(
struct
mmc
*
mmc
)
static
void
sdhci_set_ios
(
struct
mmc
*
mmc
)
{
{
u32
ctrl
;
u32
ctrl
;
struct
sdhci_host
*
host
=
mmc
->
priv
;
struct
sdhci_host
*
host
=
mmc
->
priv
;
...
@@ -393,7 +393,7 @@ void sdhci_set_ios(struct mmc *mmc)
...
@@ -393,7 +393,7 @@ void sdhci_set_ios(struct mmc *mmc)
sdhci_writeb
(
host
,
ctrl
,
SDHCI_HOST_CONTROL
);
sdhci_writeb
(
host
,
ctrl
,
SDHCI_HOST_CONTROL
);
}
}
int
sdhci_init
(
struct
mmc
*
mmc
)
static
int
sdhci_init
(
struct
mmc
*
mmc
)
{
{
struct
sdhci_host
*
host
=
mmc
->
priv
;
struct
sdhci_host
*
host
=
mmc
->
priv
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment