summaryrefslogtreecommitdiff
path: root/drivers/mmc/core/core.c
diff options
context:
space:
mode:
authorVenkatraman S <svenkatr@ti.com>2011-08-24 19:00:50 (GMT)
committerChris Ball <cjb@laptop.org>2011-10-26 19:43:35 (GMT)
commitad5fd97288655b5628052c1fa906419417c86100 (patch)
tree996861c513fca1491f6b33e20309a2d48310b582 /drivers/mmc/core/core.c
parent7513cd7af8df412d05349c5e44dc7638974211d8 (diff)
downloadlinux-fsl-qoriq-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/core.c')
-rw-r--r--drivers/mmc/core/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index eb3069d..557856b 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);