From a69773122b55961ee2dd3afd87b8321564bfe3a8 Mon Sep 17 00:00:00 2001 From: Igor Mammedov Date: Thu, 24 Aug 2017 18:31:39 +0200 Subject: tricore: replace cpu_tricore_init() with cpu_generic_init() it's just a wrapper, drop it and use cpu_generic_init() directly Signed-off-by: Igor Mammedov Reviewed-by: Eduardo Habkost Message-Id: <1503592308-93913-17-git-send-email-imammedo@redhat.com> Signed-off-by: Eduardo Habkost --- hw/tricore/tricore_testboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw') diff --git a/hw/tricore/tricore_testboard.c b/hw/tricore/tricore_testboard.c index 6c574231d5..3fcd8bb70e 100644 --- a/hw/tricore/tricore_testboard.c +++ b/hw/tricore/tricore_testboard.c @@ -74,7 +74,7 @@ static void tricore_testboard_init(MachineState *machine, int board_id) if (!machine->cpu_model) { machine->cpu_model = "tc1796"; } - cpu = cpu_tricore_init(machine->cpu_model); + cpu = TRICORE_CPU(cpu_generic_init(TYPE_TRICORE_CPU, machine->cpu_model)); if (!cpu) { error_report("Unable to find CPU definition"); exit(1); -- cgit v1.2.3