On Thu, Nov 30, 2023 at 3:07 PM Théo Lebrun <theo.lebrun@xxxxxxxxxxx> wrote: > On this platform, different vendor data is used. That requires a > compile-time check as we access (1) a global boolean & (2) our local > vendor data. Both symbols are accessible only when > CONFIG_ACPI_SPCR_TABLE is enabled. > > Factor the vendor data overriding to a separate function that is empty > when CONFIG_ACPI_SPCR_TABLE is not defined. > > Suggested-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx> > Signed-off-by: Théo Lebrun <theo.lebrun@xxxxxxxxxxx> Neat. Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij