]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commitdiff
stm32f205: Fix SoC type name
authorAndreas Färber <afaerber@suse.de>
Fri, 10 Apr 2015 14:37:56 +0000 (16:37 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 13 Apr 2015 10:37:10 +0000 (11:37 +0100)
The type name for the SoC device, unlike those of its sub-devices,
did not follow the QOM naming conventions. While the usage is internal
only, this is exposed through QMP and HMP, so fix it before release.

Cc: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Alistair Francis <alistair@alistair23.me>
Message-id: 1428676676-23056-1-git-send-email-afaerber@suse.de
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
include/hw/arm/stm32f205_soc.h

index 3cda17018daaef969cc8d79563ea0b9d748740c6..0390eff807c2d9a2a0054c9b2a9774d567e285b5 100644 (file)
@@ -29,7 +29,7 @@
 #include "hw/timer/stm32f2xx_timer.h"
 #include "hw/char/stm32f2xx_usart.h"
 
-#define TYPE_STM32F205_SOC "stm32f205_soc"
+#define TYPE_STM32F205_SOC "stm32f205-soc"
 #define STM32F205_SOC(obj) \
     OBJECT_CHECK(STM32F205State, (obj), TYPE_STM32F205_SOC)