summaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail/emmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/baytrail/emmc.c')
-rw-r--r--src/soc/intel/baytrail/emmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/baytrail/emmc.c b/src/soc/intel/baytrail/emmc.c
index bf5a8dd42f..a99fe5a424 100644
--- a/src/soc/intel/baytrail/emmc.c
+++ b/src/soc/intel/baytrail/emmc.c
@@ -46,7 +46,7 @@ static const struct reg_script emmc_ops[] = {
static void emmc_init(struct device *dev)
{
- struct soc_intel_baytrail_config *config = dev->chip_info;
+ struct soc_intel_baytrail_config *config = config_of(dev);
printk(BIOS_DEBUG, "eMMC init\n");
reg_script_run_on_dev(dev, emmc_ops);