diff options
Diffstat (limited to 'drivers/misc/microchip_flexcom.c')
-rw-r--r-- | drivers/misc/microchip_flexcom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/misc/microchip_flexcom.c b/drivers/misc/microchip_flexcom.c index d0ef2ef96c..e0a6f2d388 100644 --- a/drivers/misc/microchip_flexcom.c +++ b/drivers/misc/microchip_flexcom.c @@ -16,14 +16,14 @@ struct microchip_flexcom_regs { u32 cr; }; -struct microchip_flexcom_platdata { +struct microchip_flexcom_plat { struct microchip_flexcom_regs *regs; u32 flexcom_mode; }; static int microchip_flexcom_of_to_plat(struct udevice *dev) { - struct microchip_flexcom_platdata *plat = dev_get_plat(dev); + struct microchip_flexcom_plat *plat = dev_get_plat(dev); int ret; plat->regs = map_physmem(dev_read_addr(dev), @@ -62,5 +62,5 @@ U_BOOT_DRIVER(microchip_flexcom) = { .id = UCLASS_MISC, .of_match = microchip_flexcom_ids, .of_to_plat = microchip_flexcom_of_to_plat, - .plat_auto = sizeof(struct microchip_flexcom_platdata), + .plat_auto = sizeof(struct microchip_flexcom_plat), }; |