diff options
author | Venkatraman S <svenkatr@ti.com> | 2011-08-25 00:30:50 +0530 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-10-26 15:43:35 -0400 |
commit | ad5fd97288655b5628052c1fa906419417c86100 (patch) | |
tree | 996861c513fca1491f6b33e20309a2d48310b582 /drivers/mmc/core/core.c | |
parent | 7513cd7af8df412d05349c5e44dc7638974211d8 (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/core.c')
-rw-r--r-- | drivers/mmc/core/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index eb3069dfea8..557856b6f95 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -371,7 +371,7 @@ EXPORT_SYMBOL(mmc_wait_for_req); */ int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd, int retries) { - struct mmc_request mrq = {0}; + struct mmc_request mrq = {NULL}; WARN_ON(!host->claimed); |