aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/card/block.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/card/block.c')
-rw-r--r--drivers/mmc/card/block.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
index 4c1a648d00fc..9b9072636687 100644
--- a/drivers/mmc/card/block.c
+++ b/drivers/mmc/card/block.c
@@ -291,7 +291,7 @@ static int mmc_blk_ioctl_cmd(struct block_device *bdev,
291 struct mmc_card *card; 291 struct mmc_card *card;
292 struct mmc_command cmd = {0}; 292 struct mmc_command cmd = {0};
293 struct mmc_data data = {0}; 293 struct mmc_data data = {0};
294 struct mmc_request mrq = {0}; 294 struct mmc_request mrq = {NULL};
295 struct scatterlist sg; 295 struct scatterlist sg;
296 int err; 296 int err;
297 297
@@ -466,7 +466,7 @@ static u32 mmc_sd_num_wr_blocks(struct mmc_card *card)
466 u32 result; 466 u32 result;
467 __be32 *blocks; 467 __be32 *blocks;
468 468
469 struct mmc_request mrq = {0}; 469 struct mmc_request mrq = {NULL};
470 struct mmc_command cmd = {0}; 470 struct mmc_command cmd = {0};
471 struct mmc_data data = {0}; 471 struct mmc_data data = {0};
472 unsigned int timeout_us; 472 unsigned int timeout_us;