diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2017-11-30 15:49:10 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-12-05 17:14:00 +0100 |
commit | be17f1ce8572d6e15559897421fb7041360bb64a (patch) | |
tree | 04c927105ea9dfc527c8a1e9001cdffd2166c5d5 /drivers/mmc/core/card.h | |
parent | ae64f9bd1d3621b5e60d7363bc20afb46aede215 (diff) |
mmc: core: properly init drv_type
When the latest version of parsing the new eMMC bindings was moved from
core.c to mmc.c, it was overlooked that drv_type could be used
uninitialized. Fix it!
Fixes: 6186d06c519e21 ("mmc: parse new binding for eMMC fixed driver type")
Reported-by: Colin Ian King <colin.king@canonical.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/card.h')
0 files changed, 0 insertions, 0 deletions