Skip to contentSkip to conversation

arm: fix armv7m_init() declaration to match definition

PATCH Applied Igor Mammedov 2 participants 2 messages Oct 11, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: fix armv7m_init() declaration to match definition

s/cpu_model/cpu_type/ that has been forgotten during conversion (ba1ba5cc), while touching the line also fixup alignment.

---
 include/hw/arm/arm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/arm.h +1 -1
index a3f79d3..ce769bd 100644
@@ -25,7 +25,7 @@ typedef enum {
 
 /* armv7m.c */
 DeviceState *armv7m_init(MemoryRegion *system_memory, int mem_size, int num_irq,
-                      const char *kernel_filename, const char *cpu_model);
+                         const char *kernel_filename, const char *cpu_type);
 /**
  * armv7m_load_kernel:
  * @cpu: CPU
Signature · 1 line
2.7.4
#1 lore raw
Quoted 23 lines · Igor Mammedov

s/cpu_model/cpu_type/ that has been forgotten during conversion (ba1ba5cc), while touching the line also fixup alignment.

---
 include/hw/arm/arm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/arm.h +1 -2
index a3f79d3..ce769bd 100644
@@ -25,7 +25,7 @@ typedef enum {
 
 /* armv7m.c */
 DeviceState *armv7m_init(MemoryRegion *system_memory, int mem_size, int num_irq,
-                      const char *kernel_filename, const char *cpu_model);
+                         const char *kernel_filename, const char *cpu_type);
 /**
  * armv7m_load_kernel:
  * @cpu: CPU
--
Quoted 1 line

2.7.4

Applied to target-arm.next, thanks.

-- PMM