Skip to content
Snippets Groups Projects
Commit eafa90a1 authored by Kim Phillips's avatar Kim Phillips Committed by Tom Rini
Browse files

drivers/mmc/fsl_esdhc.c: sparse fixes


fsl_esdhc.c:71:6: warning: symbol 'esdhc_xfertyp' was not declared. Should it be static?
fsl_esdhc.c:413:6: warning: symbol 'set_sysctl' was not declared. Should it be st

Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>
parent fdbb873e
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,7 @@ struct fsl_esdhc { ...@@ -68,7 +68,7 @@ struct fsl_esdhc {
}; };
/* Return the XFERTYP flags for a given command and data packet */ /* Return the XFERTYP flags for a given command and data packet */
uint esdhc_xfertyp(struct mmc_cmd *cmd, struct mmc_data *data) static uint esdhc_xfertyp(struct mmc_cmd *cmd, struct mmc_data *data)
{ {
uint xfertyp = 0; uint xfertyp = 0;
...@@ -410,7 +410,7 @@ esdhc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data) ...@@ -410,7 +410,7 @@ esdhc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data)
return 0; return 0;
} }
void set_sysctl(struct mmc *mmc, uint clock) static void set_sysctl(struct mmc *mmc, uint clock)
{ {
int sdhc_clk = gd->sdhc_clk; int sdhc_clk = gd->sdhc_clk;
int div, pre_div; int div, pre_div;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment