[PATCH 1/2] tty: serial: print earlycon info after match->setup

Andy Shevchenko andriy.shevchenko at linux.intel.com
Mon Sep 14 12:06:34 EDT 2020


On Fri, Sep 11, 2020 at 05:39:26PM +0800, Hsin-Yi Wang wrote:
> 8250 devices may modify iotype in their own earlycon setup. For example:
> 8250_mtk and 8250_uniphier force iotype to be MMIO32. Print earlycon info
> after match->setup to reflect actual earlycon info.

But this means you do something which user didn't ask for...

> +static void __init earlycon_info(struct earlycon_device *device)

Can it be earlycon_pr_info() or earlycon_print_info() ?

-- 
With Best Regards,
Andy Shevchenko





More information about the linux-arm-kernel mailing list