mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
drivers/mmc/tegra2_mmc.c: fix GCC 4.6 warning
Fix: tegra2_mmc.c: In function 'mmc_send_cmd': tegra2_mmc.c:230:3: warning: 'mask' may be used uninitialized in this function [-Wuninitialized] Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Doug Anderson <dianders@chromium.org> Cc: Tom Warren <twarren@nvidia.com>
This commit is contained in:
parent
7373323056
commit
60e242ed24
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ static int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd,
|
|||
struct mmc_host *host = (struct mmc_host *)mmc->priv;
|
||||
int flags, i;
|
||||
int result;
|
||||
unsigned int mask;
|
||||
unsigned int mask = 0;
|
||||
unsigned int retry = 0x100000;
|
||||
debug(" mmc_send_cmd called\n");
|
||||
|
||||
|
|
Loading…
Reference in a new issue