diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2014-02-25 15:18:20 +0530 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-02-25 15:42:33 -0500 |
commit | 43aaa50f17c38c16cce2a9a3e73909b7937892a3 (patch) | |
tree | 7fd690f9f67a2bbcc072c692cf582b84862d2376 /drivers/mmc/host/sdhci-spear.c | |
parent | c4c7fb19bbf1129da1c3b9fcad9713bd79f3207c (diff) |
mmc: wmt-sdmmc: Fix NULL pointer dereference
'of_id' is dereferenced before NULL pointer check. Move it to
after the check.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/mmc/host/sdhci-spear.c')
0 files changed, 0 insertions, 0 deletions