Commit cadb36cb authored by Antonio Nino Diaz's avatar Antonio Nino Diaz
Browse files

drivers/mmc: Fix warning about usage of uninitialized variable



Because of -Werror, this causes a build error.

Change-Id: I37a8c4bbfe3f2ced5e17981a2814985919ad483b
Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
parent 5e4c590d
...@@ -221,7 +221,7 @@ static int mmc_fill_device_info(void) ...@@ -221,7 +221,7 @@ static int mmc_fill_device_info(void)
unsigned int speed_idx; unsigned int speed_idx;
unsigned int nb_blocks; unsigned int nb_blocks;
unsigned int freq_unit; unsigned int freq_unit;
int ret; int ret = 0;
struct mmc_csd_sd_v2 *csd_sd_v2; struct mmc_csd_sd_v2 *csd_sd_v2;
switch (mmc_dev_info->mmc_dev_type) { switch (mmc_dev_info->mmc_dev_type) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment