diff options
Diffstat (limited to 'drivers/serial/serial_coreboot.c')
-rw-r--r-- | drivers/serial/serial_coreboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_coreboot.c b/drivers/serial/serial_coreboot.c index 17072e42b2..dba0ae45fb 100644 --- a/drivers/serial/serial_coreboot.c +++ b/drivers/serial/serial_coreboot.c @@ -13,7 +13,7 @@ static int coreboot_ofdata_to_platdata(struct udevice *dev) { - struct ns16550_platdata *plat = dev_get_platdata(dev); + struct ns16550_platdata *plat = dev_get_plat(dev); struct cb_serial *cb_info = lib_sysinfo.serial; plat->base = cb_info->baseaddr; |