diff options
author | Simon Glass | 2020-12-22 19:30:18 -0700 |
---|---|---|
committer | Simon Glass | 2021-01-05 12:24:40 -0700 |
commit | d30c7209dfb4c6e4f38f8b42354e44885b53f301 (patch) | |
tree | c530f264e978855ea1793787015a6051cf11884f /drivers/serial/serial_coreboot.c | |
parent | aa88ac884c998ab521b3a433e963bc001d31e5d8 (diff) |
serial: Update NS16550_t and struct NS16550
Typedefs should not be used in U-Boot and structs should be lower case.
Update the code to use struct ns16550 consistently.
Put a header guard on the file while we are here.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
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 904e1b306e0..88c8209c5db 100644 --- a/drivers/serial/serial_coreboot.c +++ b/drivers/serial/serial_coreboot.c @@ -37,7 +37,7 @@ U_BOOT_DRIVER(coreboot_uart) = { .name = "coreboot_uart", .id = UCLASS_SERIAL, .of_match = coreboot_serial_ids, - .priv_auto = sizeof(struct NS16550), + .priv_auto = sizeof(struct ns16550), .plat_auto = sizeof(struct ns16550_plat), .of_to_plat = coreboot_of_to_plat, .probe = ns16550_serial_probe, |