Commit 80e65cb9 authored by zhangguijiang's avatar zhangguijiang Committed by Yang Yingliang
Browse files

EMMC: fix ascend hisi emmc probe failed problem according to mmc_host struct

ascend inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I4GVSG


CVE: NA

-------------------

Struct mmc_host using variable private[0] to point the end of struct
mmc_host, at deaf01a6 we modified struct mmc_host but ignored the
role of private[0] and not put it to the end of struct mmc_host.

It will make mmc card probe failed, so we fix this problem, and now
ascend hisi mmc card is able to probe success.

Signed-off-by: default avatarzhangguijiang <zhangguijiang@huawei.com>
Reviewed-by: default avatarDing Tianhong <dingtianhong@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent d49a78a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment