stm32f205: Fix SoC type name
PATCH 1/1 stm32f205: Fix SoC type name
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.
--- include/hw/arm/stm32f205_soc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/stm32f205_soc.h +1 -1
@@ -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)
Signature · 1 line
2.1.4
Quoted 6 lines · Andreas Färber
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 <[email protected]>Signed-off-by Andreas Färber <[email protected]>
Looks good to me. Sorry about this slipping in, thanks for fixing it.
Thanks,
Alistair
Quoted 21 lines
--- include/hw/arm/stm32f205_soc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/hw/arm/stm32f205_soc.h +1
-2@@ -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) --2.1.4
Am 10.04.2015 um 16:47 schrieb Alistair Francis:
Quoted 11 lines · Andreas Färber
Quoted 6 lines
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 <[email protected]>Signed-off-by Andreas Färber <[email protected]>Looks good to me. Sorry about this slipping in, thanks for fixing it.
Reviewed-by Alistair Francis <[email protected]>
Thanks. BTW a real SoC device would integrate ARMCPU as well - in that case we would need to distinguish -arm-soc and -aarch64-soc, like we do for CPUs.
Regards,
Andreas
Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton; HRB 21284 (AG Nürnberg)
Peter Maydell
AppliedQuoted 15 lines · Andreas Färber
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 <[email protected]>Signed-off-by Andreas Färber <[email protected]>--- include/hw/arm/stm32f205_soc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/hw/arm/stm32f205_soc.h +0
-0
include/hw/arm/stm32f205_soc.h line 34
Quoted 7 lines
include/hw/arm/stm32f205_soc.h +1
-1@@ -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)
Applied, thanks.
-- PMM