diff options
author | Venkatraman S <svenkatr@ti.com> | 2011-08-24 23:00:50 +0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-10-26 23:43:35 +0400 |
commit | ad5fd97288655b5628052c1fa906419417c86100 (patch) | |
tree | 996861c513fca1491f6b33e20309a2d48310b582 /drivers/mmc/core/mmc_ops.c | |
parent | 7513cd7af8df412d05349c5e44dc7638974211d8 (diff) | |
download | linux-ad5fd97288655b5628052c1fa906419417c86100.tar.xz |
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/mmc_ops.c')
-rw-r--r-- | drivers/mmc/core/mmc_ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/core/mmc_ops.c b/drivers/mmc/core/mmc_ops.c index 770c3d06f5dc..7aa13d01a835 100644 --- a/drivers/mmc/core/mmc_ops.c +++ b/drivers/mmc/core/mmc_ops.c @@ -233,7 +233,7 @@ static int mmc_send_cxd_data(struct mmc_card *card, struct mmc_host *host, u32 opcode, void *buf, unsigned len) { - struct mmc_request mrq = {0}; + struct mmc_request mrq = {NULL}; struct mmc_command cmd = {0}; struct mmc_data data = {0}; struct scatterlist sg; @@ -454,7 +454,7 @@ static int mmc_send_bus_test(struct mmc_card *card, struct mmc_host *host, u8 opcode, u8 len) { - struct mmc_request mrq = {0}; + struct mmc_request mrq = {NULL}; struct mmc_command cmd = {0}; struct mmc_data data = {0}; struct scatterlist sg; |