mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54:58 -06:00
qom: Constify TypeInfo::class_data
All callers now correctly expect a const class data. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20250424194905.82506-5-philmd@linaro.org>
This commit is contained in:
parent
12d1a768bd
commit
b282b859cf
18 changed files with 21 additions and 21 deletions
|
@ -388,7 +388,7 @@ static void spapr_cpu_core_class_init(ObjectClass *oc, const void *data)
|
|||
#define DEFINE_SPAPR_CPU_CORE_TYPE(cpu_model) \
|
||||
{ \
|
||||
.parent = TYPE_SPAPR_CPU_CORE, \
|
||||
.class_data = (void *) POWERPC_CPU_TYPE_NAME(cpu_model), \
|
||||
.class_data = POWERPC_CPU_TYPE_NAME(cpu_model), \
|
||||
.class_init = spapr_cpu_core_class_init, \
|
||||
.name = SPAPR_CPU_CORE_TYPE_NAME(cpu_model), \
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue