]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/arm/aspeed: Make aspeed_machine_class_init_cpus_defaults() globally accessible
authorJamin Lin <jamin_lin@aspeedtech.com>
Tue, 4 Nov 2025 03:12:40 +0000 (11:12 +0800)
committerCédric Le Goater <clg@redhat.com>
Tue, 4 Nov 2025 08:27:58 +0000 (09:27 +0100)
commit59bb848ee8c0d0bd392e0894e81e0d459ca11534
treee60cf273cb333473eafcb3fb66e0ef1401c87317
parent489946d01af13c472bbf1d8daa80e0bf894e6fc9
hw/arm/aspeed: Make aspeed_machine_class_init_cpus_defaults() globally accessible

The function aspeed_machine_class_init_cpus_defaults() is now made
globally visible so that it can be used by other Aspeed machine C files.

Previously, this function was declared as static, restricting its
visibility to aspeed.c. Since future machine split files will also
need to call this helper to initialize default CPU settings, its
declaration has been moved to the common header aspeed.h and the
static keyword has been removed.

No functional changes.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20251104031325.146374-3-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/arm/aspeed.c
include/hw/arm/aspeed.h