diff options
Diffstat (limited to 'drivers/misc/altera_sysid.c')
-rw-r--r-- | drivers/misc/altera_sysid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/altera_sysid.c b/drivers/misc/altera_sysid.c index 057b431c254..878df12771c 100644 --- a/drivers/misc/altera_sysid.c +++ b/drivers/misc/altera_sysid.c @@ -59,7 +59,7 @@ U_BOOT_CMD( static int altera_sysid_read(struct udevice *dev, int offset, void *buf, int size) { - struct altera_sysid_plat *plat = dev->plat; + struct altera_sysid_plat *plat = dev_get_plat(dev); struct altera_sysid_regs *const regs = plat->regs; u32 *sysid = buf; |