aboutsummaryrefslogtreecommitdiff
path: root/drivers/serial/serial_intel_mid.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/serial_intel_mid.c')
-rw-r--r--drivers/serial/serial_intel_mid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_intel_mid.c b/drivers/serial/serial_intel_mid.c
index 26c6867180f..2ee7e2d5de5 100644
--- a/drivers/serial/serial_intel_mid.c
+++ b/drivers/serial/serial_intel_mid.c
@@ -33,7 +33,7 @@ static void mid_writel(struct ns16550_platdata *plat, int offset, int value)
static int mid_serial_probe(struct udevice *dev)
{
- struct ns16550_platdata *plat = dev_get_platdata(dev);
+ struct ns16550_platdata *plat = dev_get_plat(dev);
/*
* Initialize fractional divider correctly for Intel Edison