diff options
Diffstat (limited to 'drivers/serial/serial_intel_mid.c')
-rw-r--r-- | drivers/serial/serial_intel_mid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/serial/serial_intel_mid.c b/drivers/serial/serial_intel_mid.c index 55da805b8e..be9bf662fd 100644 --- a/drivers/serial/serial_intel_mid.c +++ b/drivers/serial/serial_intel_mid.c @@ -21,7 +21,7 @@ #define UART_MUL 0x34 #define UART_DIV 0x38 -static void mid_writel(struct ns16550_platdata *plat, int offset, int value) +static void mid_writel(struct ns16550_plat *plat, int offset, int value) { unsigned char *addr; @@ -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_plat(dev); + struct ns16550_plat *plat = dev_get_plat(dev); /* * Initialize fractional divider correctly for Intel Edison @@ -60,7 +60,7 @@ U_BOOT_DRIVER(serial_intel_mid) = { .id = UCLASS_SERIAL, .of_match = mid_serial_ids, .of_to_plat = ns16550_serial_of_to_plat, - .plat_auto = sizeof(struct ns16550_platdata), + .plat_auto = sizeof(struct ns16550_plat), .priv_auto = sizeof(struct NS16550), .probe = mid_serial_probe, .ops = &ns16550_serial_ops, |