Hi Marek, On 2026-06-12T02:05:38, Marek Vasut <[email protected]> wrote: > treewide: Staticize and constify acpi ops > > Set the acpi_ops structure as static const where applicable. The > The structure is not accessible from outside of drivers and is not > going to be modified at runtime. The structure may be unused in a > couple of drivers depending on their configuration, mark those > sites with __maybe_unused . > > Signed-off-by: Marek Vasut <[email protected]> > > arch/arm/lib/gic-v2.c | 2 +- > arch/arm/lib/gic-v3-its.c | 2 +- > arch/x86/cpu/apollolake/cpu.c | 4 +--- > arch/x86/cpu/apollolake/hostbridge.c | 2 +- > arch/x86/cpu/apollolake/lpc.c | 2 +- > arch/x86/cpu/intel_common/generic_wifi.c | 2 +- > arch/x86/lib/fsp/fsp_graphics.c | 2 +- > board/google/chromebook_coral/coral.c | 2 +- > drivers/core/acpi.c | 4 ++-- > drivers/core/root.c | 2 +- > drivers/cpu/armv8_cpu.c | 2 +- > drivers/cpu/bcm283x_cpu.c | 2 +- > drivers/gpio/sandbox.c | 4 ++-- > drivers/i2c/designware_i2c_pci.c | 2 +- > drivers/mmc/pci_mmc.c | 4 ++-- > drivers/rtc/sandbox_rtc.c | 2 +- > drivers/sound/da7219.c | 2 +- > drivers/sound/max98357a.c | 2 +- > drivers/tpm/cr50_i2c.c | 2 +- > include/dm/device.h | 2 +- > test/dm/acpi.c | 2 +- > 21 files changed, 24 insertions(+), 26 deletions(-)
Reviewed-by: Simon Glass <[email protected]> Regards, Simon

