diff options
author | Peter Maydell | 2020-11-19 22:56:16 +0100 |
---|---|---|
committer | Peter Maydell | 2020-12-10 12:44:56 +0100 |
commit | 71f916be1c7e9ede0e37d9cabc781b5a9e8638ff (patch) | |
tree | 435634a8ba46ac2177b86a5d1c12b23a467a7974 /hw/arm | |
parent | hw/intc/armv7m_nvic: Implement read/write for RAS register block (diff) | |
download | qemu-71f916be1c7e9ede0e37d9cabc781b5a9e8638ff.tar.gz qemu-71f916be1c7e9ede0e37d9cabc781b5a9e8638ff.tar.xz qemu-71f916be1c7e9ede0e37d9cabc781b5a9e8638ff.zip |
hw/arm/armv7m: Correct typo in QOM object name
Correct a typo in the name we give the NVIC object.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20201119215617.29887-28-peter.maydell@linaro.org
Diffstat (limited to 'hw/arm')
-rw-r--r-- | hw/arm/armv7m.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/armv7m.c b/hw/arm/armv7m.c index 944f261dd0..8224d4ade9 100644 --- a/hw/arm/armv7m.c +++ b/hw/arm/armv7m.c @@ -136,7 +136,7 @@ static void armv7m_instance_init(Object *obj) memory_region_init(&s->container, obj, "armv7m-container", UINT64_MAX); - object_initialize_child(obj, "nvnic", &s->nvic, TYPE_NVIC); + object_initialize_child(obj, "nvic", &s->nvic, TYPE_NVIC); object_property_add_alias(obj, "num-irq", OBJECT(&s->nvic), "num-irq"); |