summaryrefslogtreecommitdiff
path: root/drivers/mmc/core/sdio_ops.c
diff options
context:
space:
mode:
authorVenkatraman S <svenkatr@ti.com>2011-08-25 00:30:50 +0530
committerChris Ball <cjb@laptop.org>2011-10-26 15:43:35 -0400
commitad5fd97288655b5628052c1fa906419417c86100 (patch)
tree996861c513fca1491f6b33e20309a2d48310b582 /drivers/mmc/core/sdio_ops.c
parent7513cd7af8df412d05349c5e44dc7638974211d8 (diff)
mmc: fix integer assignments to pointer
Fix the sparse warning output "warning: Using plain integer as NULL pointer" Signed-off-by: Venkatraman S <svenkatr@ti.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core/sdio_ops.c')
-rw-r--r--drivers/mmc/core/sdio_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/sdio_ops.c b/drivers/mmc/core/sdio_ops.c
index f087d876c573..4addbe987bc9 100644
--- a/drivers/mmc/core/sdio_ops.c
+++ b/drivers/mmc/core/sdio_ops.c
@@ -121,7 +121,7 @@ int mmc_io_rw_direct(struct mmc_card *card, int write, unsigned fn,
int mmc_io_rw_extended(struct mmc_card *card, int write, unsigned fn,
unsigned addr, int incr_addr, u8 *buf, unsigned blocks, unsigned blksz)
{
- struct mmc_request mrq = {0};
+ struct mmc_request mrq = {NULL};
struct mmc_command cmd = {0};
struct mmc_data data = {0};
struct scatterlist sg;