--- zzzz-none-000/linux-3.10.107/drivers/mmc/host/cb710-mmc.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/mmc/host/cb710-mmc.h 2021-02-04 17:41:59.000000000 +0000 @@ -24,7 +24,7 @@ static inline struct mmc_host *cb710_slot_to_mmc(struct cb710_slot *slot) { - return dev_get_drvdata(&slot->pdev.dev); + return platform_get_drvdata(&slot->pdev); } static inline struct cb710_slot *cb710_mmc_to_slot(struct mmc_host *mmc)